summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-18 14:12:07 +0100
committerJim Meyering <meyering@redhat.com>2008-03-02 17:23:38 +0100
commit7dd49d2811431dceac40473f3d65d13f6552cce4 (patch)
tree9a9dcfd8b3c8fb8e8406b9c4cdf6a2034aab1c06 /doc/posix-functions
parent2745af103fde56c389d4f46711d52d2a2d7b016e (diff)
downloadgnulib-7dd49d2811431dceac40473f3d65d13f6552cce4.tar.gz
Remove useless "if" tests before free. Deprecate "free" module.
* doc/posix-functions/free.texi: Mention that this module is no longer useful. * modules/free (Notice): Say this module is obsolete. * modules/readutmp (Depends-on): Remove free. * lib/save-cwd.c (free_cwd): Remove useless "if" before free. * lib/putenv.c (putenv): Likewise. * lib/gc-gnulib.c (gc_cipher_close): Likewise. * lib/getaddrinfo.c (freeaddrinfo): Likewise. * tests/test-c-strcasestr.c (main): Likewise. * tests/test-c-strstr.c (main): Likewise. * tests/test-mbscasestr1.c (main): Likewise. * tests/test-mbscasestr2.c (main): Likewise. * tests/test-mbsstr1.c (main): Likewise. * tests/test-mbsstr2.c (main): Likewise. * tests/test-memmem.c (main): Likewise. * tests/test-strcasestr.c (main): Likewise. * tests/test-striconv.c (main): Likewise. * tests/test-striconveh.c (main): Likewise. * tests/test-striconveha.c (main): Likewise. * tests/test-strstr.c (main): Likewise.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/free.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/posix-functions/free.texi b/doc/posix-functions/free.texi
index a407dc25eb..10d95cd0f9 100644
--- a/doc/posix-functions/free.texi
+++ b/doc/posix-functions/free.texi
@@ -9,7 +9,10 @@ Gnulib module: free
Portability problems fixed by Gnulib:
@itemize
@item
-On old platforms, @code{free (NULL)} is not allowed.
+On old platforms such as SunOS4, @code{free (NULL)} fails.
+However, since all such systems are so old as to no longer
+be considered ``reasonable portability targets,''
+this module is no longer useful.
@end itemize
Portability problems not fixed by Gnulib: