Hash :
7dd49d28
Author :
Date :
2008-02-18T14:12:07
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.
@node free
@section @code{free}
@findex free
POSIX specification: @url{http://www.opengroup.org/susv3xsh/free.html}
Gnulib module: free
Portability problems fixed by Gnulib:
@itemize
@item
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:
@itemize
@end itemize