Date: Tue, 29 Apr 2003 14:13:50 -0700 (PDT) From: Jacques Vidrine <nectar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen check_utility_compat.c confstr.c fmtmsg.c getgrent.c getpwent.c src/lib/libc/include namespace.h un-namespace.h src/lib/libc/locale setlocale.c src/lib/libc/net getaddrinfo.c gethostbydns.c getnameinfo.c hesiod.c ... Message-ID: <200304292113.h3TLDoGF072965@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nectar 2003/04/29 14:13:50 PDT FreeBSD src repository Modified files: lib/libc/gen check_utility_compat.c confstr.c fmtmsg.c getgrent.c getpwent.c lib/libc/include namespace.h un-namespace.h lib/libc/locale setlocale.c lib/libc/net getaddrinfo.c gethostbydns.c getnameinfo.c hesiod.c if_nametoindex.c lib/libc/nls msgcat.c lib/libc/rpc rpc_soc.c lib/libc/stdlib realpath.c lib/libc/string strerror.c strlcat.c strlcpy.c lib/libc/yp yplib.c Log: `Hide' strlcpy and strlcat (using the namespace.h / __weak_reference technique) so that we don't wind up calling into an application's version if the application defines them. Inspired by: qpopper's interfering and buggy version of strlcpy Revision Changes Path 1.2 +3 -6 src/lib/libc/gen/check_utility_compat.c 1.8 +3 -2 src/lib/libc/gen/confstr.c 1.4 +12 -10 src/lib/libc/gen/fmtmsg.c 1.30 +2 -2 src/lib/libc/gen/getgrent.c 1.80 +5 -5 src/lib/libc/gen/getpwent.c 1.15 +2 -0 src/lib/libc/include/namespace.h 1.12 +2 -0 src/lib/libc/include/un-namespace.h 1.42 +3 -1 src/lib/libc/locale/setlocale.c 1.39 +2 -2 src/lib/libc/net/getaddrinfo.c 1.42 +4 -2 src/lib/libc/net/gethostbydns.c 1.13 +7 -5 src/lib/libc/net/getnameinfo.c 1.8 +3 -1 src/lib/libc/net/hesiod.c 1.4 +1 -1 src/lib/libc/net/if_nametoindex.c 1.46 +1 -1 src/lib/libc/nls/msgcat.c 1.12 +1 -1 src/lib/libc/rpc/rpc_soc.c 1.18 +6 -6 src/lib/libc/stdlib/realpath.c 1.12 +5 -3 src/lib/libc/string/strerror.c 1.8 +4 -1 src/lib/libc/string/strlcat.c 1.6 +4 -1 src/lib/libc/string/strlcpy.c 1.44 +1 -1 src/lib/libc/yp/yplib.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304292113.h3TLDoGF072965>