From 3909c7d3edc454cc776636d38e6e8e89f0bd252e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 5 Feb 2009 16:28:41 +0000 Subject: [PATCH] syntax-check: enable prohibit_nonreentrant * .x-sc_prohibit_nonreentrant: Add src/console.c and virterror.c. * Makefile.cfg (local-checks-to-skip): Don't exempt sc_prohibit_nonreentrant. * Makefile.nonreentrant: Don't exempt strerror. --- .x-sc_prohibit_nonreentrant | 4 +++- ChangeLog | 8 ++++++++ Makefile.nonreentrant | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.x-sc_prohibit_nonreentrant b/.x-sc_prohibit_nonreentrant index a90e010087..cc323b073e 100644 --- a/.x-sc_prohibit_nonreentrant +++ b/.x-sc_prohibit_nonreentrant @@ -4,5 +4,7 @@ ChangeLog ^Makefile* ^docs/ ^tests/ -^src/virsh.c +^src/virsh\.c +^src/console\.c +^src/virterror\.c ^build-aux/ diff --git a/ChangeLog b/ChangeLog index 2fe7d18650..3f7fdecd92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Feb 5 17:03:35 +0100 2009 Jim Meyering + + syntax-check: enable prohibit_nonreentrant + * .x-sc_prohibit_nonreentrant: Add src/console.c and virterror.c. + * Makefile.cfg (local-checks-to-skip): Don't exempt + sc_prohibit_nonreentrant. + * Makefile.nonreentrant: Don't exempt strerror. + Thu Feb 5 17:03:35 +0100 2009 Jim Meyering remove remainder of offending strerror uses diff --git a/Makefile.nonreentrant b/Makefile.nonreentrant index 13fa59de41..b567f31474 100644 --- a/Makefile.nonreentrant +++ b/Makefile.nonreentrant @@ -79,7 +79,7 @@ NON_REENTRANT += setstate NON_REENTRANT += sgetspent NON_REENTRANT += srand48 NON_REENTRANT += srandom -# NON_REENTRANT += strerror +NON_REENTRANT += strerror NON_REENTRANT += strtok NON_REENTRANT += tmpnam NON_REENTRANT += ttyname