Date: Fri, 14 Jan 2005 12:22:57 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-aout shlib.c shlib.h src/sbin/ldconfig Makefile ldconfig.c Message-ID: <200501141222.j0ECMvl2070949@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501141222.j0ECMvl2070949>
