diff options
author | bde <bde@FreeBSD.org> | 2000-05-09 21:18:30 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-05-09 21:18:30 +0000 |
commit | dc4d8418661bd3c00c580e5c5d67a7497297bc7a (patch) | |
tree | 265f1f6f404e9a2180b2b4e7dfae653bc8e38f33 /release/Makefile | |
parent | 644c23642152acc1dd5b496517e96db2ed73bea9 (diff) | |
download | FreeBSD-src-dc4d8418661bd3c00c580e5c5d67a7497297bc7a.zip FreeBSD-src-dc4d8418661bd3c00c580e5c5d67a7497297bc7a.tar.gz |
Fixed the calculation of sy_nargs in sysent tables. We attempted to do
this in awk using the hack of counting args of type off_t twice and args
of all other types once. This is too simple to work. It gave benignly
wrong results on alphas (off_t shouldn't be counted twice) and for
svr4_sys_mmap64() on i386's (off64_t should be counted twice). It gave
fatally wrong results for i386's with 64-bit longs (longs should be
counted twice). The correct value for sy_nargs is easier to determine
from the size of the args struct anyway, except for complications to
make the generated code almost readable.
Improved formatting of sysent tables by lining up the comments where
possible.
Diffstat (limited to 'release/Makefile')
0 files changed, 0 insertions, 0 deletions