diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-26 14:57:55 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-17 17:57:05 +0700 |
commit | abc2b152d3e8a7427123cd651d888a6b3a6e5fde (patch) | |
tree | e0fca29d560e30b4b5074d384c2016bd72bbd1a6 /cfg.mk | |
parent | dbc76d2f97a9a689ecf4a37e6e64e7eb3d468d18 (diff) | |
download | libtool-abc2b152d3e8a7427123cd651d888a6b3a6e5fde.tar.gz |
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>
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -62,7 +62,6 @@ local-checks-to-fix = \ local-checks-to-skip = \ $(local-checks-to-fix) \ sc_GPL_version \ - sc_avoid_if_before_free \ sc_bindtextdomain \ sc_cast_of_argument_to_free \ sc_cast_of_x_alloc_return_value \ @@ -72,8 +71,7 @@ local-checks-to-skip = \ # GPL_version: checks for GPLv3, which we don't use # bindtextdomain: libtool isn't internationalized -# avoid_if_before_free: we don't use the gnulib malloc modules -# cast_of_argument_to_free: ditto +# cast_of_argument_to_free: we don't use gnulib alloc modules # cast_of_x_alloc_return_value: ditto # error_message_uppercase: we like our error messages # program_name: libtool has no programs! |