]> git.ipfire.org Git - thirdparty/libtool.git/commit
syntax-check: fix violations and re-enable sc_avoid_if_before_free.
authorGary V. Vaughan <gary@gnu.org>
Wed, 26 Oct 2011 07:57:55 +0000 (14:57 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 10:57:05 +0000 (17:57 +0700)
commitabc2b152d3e8a7427123cd651d888a6b3a6e5fde
treee0fca29d560e30b4b5074d384c2016bd72bbd1a6
parentdbc76d2f97a9a689ecf4a37e6e64e7eb3d468d18
syntax-check: fix violations and re-enable sc_avoid_if_before_free.

* cfg.mk (local-checks-to-fix): Remove sc_avoid_if_before_free
from list of disabled checks.
According to gnulib/doc/free.texi: "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."
* libltdl/libltdl/lt__alloc.h (FREE, MEMREASSIGN): Don't protect
against freeing NULL bug on SunOS4.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
cfg.mk
libltdl/libltdl/lt__alloc.h