]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: factor out common code; prohibit use of HAVE_MBRTOWC
authorJim Meyering <meyering@redhat.com>
Mon, 29 Dec 2008 15:34:45 +0000 (16:34 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 1 Jan 2009 01:15:07 +0000 (02:15 +0100)
commit13601dd3cf69488137b3e90ee0bd33fa3136ad8a
tree5dd8d7b365397ff54f5d5a518dad4eadf61504d6
parent1ee192a9ffa84319a695270e816dceb8b9a5f657
maint: factor out common code; prohibit use of HAVE_MBRTOWC

* maint.mk (_prohibit_regexp): New macro.
(sc_avoid_if_before_free, sc_cast_of_argument_to_free):
(sc_cast_of_x_alloc_return_value, sc_cast_of_alloca_return_value):
(sc_space_tab, sc_prohibit_atoi_atof, sc_prohibit_strcmp):
(sc_prohibit_stat_st_blocks, sc_prohibit_S_IS_definition): Use it.
(sc_prohibit_HAVE_MBRTOWC): New rule.
maint.mk