cvs commit: src/lib/libc Makefile src/lib/libc/gen gethostname.c
Garrett Wollman
wollman at FreeBSD.org
Tue Aug 19 16:01:48 PDT 2003
wollman 2003/08/19 16:01:46 PDT
FreeBSD src repository
Modified files:
lib/libc Makefile
lib/libc/gen gethostname.c
Log:
Add a kluge suggested by Marcel to paper over the difference between
gethostname()'s old and new signatures without requiring a library
bump. Note that programs which called gethostname() with a negative
argument were already broken, since the same type conversion was done
by the old implementation. Add a note in the Makefile so that whoever
next bumps the libc revision will delete the kluge at the same time
(as it will no longer be necessary). This is only operative on 64-bit
platforms.
Submitted by: marcel
Revision Changes Path
1.44 +1 -0 src/lib/libc/Makefile
1.5 +3 -0 src/lib/libc/gen/gethostname.c
More information about the cvs-src
mailing list