cvs commit: src/libexec/rtld-aout shlib.c shlib.h
src/sbin/ldconfig Makefile ldconfig.c
Xin LI
delphij at FreeBSD.org
Fri Jan 14 04:22:58 PST 2005
delphij 2005-01-14 12:22:57 UTC
FreeBSD src repository
Modified files:
libexec/rtld-aout shlib.c shlib.h
sbin/ldconfig Makefile ldconfig.c
Log:
64-bit clean + WARNS=6:
- Convert the (char *) cast+cast backs magic to
memcpy(3). Without this, the resulting code
is potentially risky with higher optimization
levels.
- Avoid same name when calling local variables,
as well as global symbols. This reduces
confusion for both human and compiler.
- Add necessary casts, consts
- Use new style function defination.
- Minor style.Makefile(5) tweak
- Bump WARNS?= from 0 to 6
** for the aout code: changes are intentionally limited
to ease maintaince.
Revision Changes Path
1.26 +3 -4 src/libexec/rtld-aout/shlib.c
1.8 +1 -1 src/libexec/rtld-aout/shlib.h
1.20 +1 -1 src/sbin/ldconfig/Makefile
1.42 +26 -21 src/sbin/ldconfig/ldconfig.c
More information about the cvs-src
mailing list