Mercurial > hg > octave-lojdl > gnulib-hg
view modules/free @ 9749:daf5ba9fe2d9
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 18 Feb 2008 14:12:07 +0100 |
parents | 6a764f23e302 |
children | fff577282e62 |
line wrap: on
line source
Description: Work around incompatibility on older systems where free (NULL) fails. Notice: This module is obsolete. Files: lib/free.c m4/free.m4 Depends-on: configure.ac: gl_FUNC_FREE Makefile.am: Include: <stdlib.h> License: GPL Maintainer: Paul Eggert