mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
* Makefile.maint (sc_cast_of_x_alloc_return_value): Add an exclusion
for xalloc.h itself.
This commit is contained in:
1 parent
28c7ef509e
commit
75be540f7d
2 files changed
+5
-1
No files matched your search
@@ -1,5 +1,8 @@
|
||||
2006-11-12 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* Makefile.maint (sc_cast_of_x_alloc_return_value): Add an exclusion
|
||||
for xalloc.h itself.
|
||||
|
||||
Avoid false-positive when testing via valgrind.
|
||||
* tests/mv/atomic: Grep strace output for a more specific pattern
|
||||
than just "unlink", since that got a false positive when testing
|
||||
|
||||
+2
-1
@@ -102,7 +102,8 @@ sc_cast_of_argument_to_free:
|
||||
exit 1; } || :
|
||||
|
||||
sc_cast_of_x_alloc_return_value:
|
||||
@grep -nE --exclude=$(srcdir)/lib/regex.c \
|
||||
@grep -nE --exclude=$(srcdir)/lib/xalloc.h \
|
||||
--exclude=$(srcdir)/lib/regex.c \
|
||||
'\*\) *x(m|c|re)alloc\>' \
|
||||
$(srcdir)/{lib,src}/*.[chy] && \
|
||||
{ echo '$(ME): don'\''t cast x*alloc return value' 1>&2; \
|
||||
|
||||
Reference in new issue
Block a user