diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-08 01:53:49 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-08 01:53:49 +0000 |
commit | e5990e25bdf125f4f1d57806c11b0e61c2e8170b (patch) | |
tree | 0ec5e8a9ecdad2ffb538ce3291a37a5e3c213104 /gcc/fixinc | |
parent | a54de1b98d9446922c26c11ffd365c21faa22cf8 (diff) | |
download | gcc-e5990e25bdf125f4f1d57806c11b0e61c2e8170b.tar.gz |
* fixinc/inclhack.def (bad_lval): Remove bogus selector.
* fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27423 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 16 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 1 | ||||
-rwxr-xr-x | gcc/fixinc/inclhack.sh | 3 |
3 files changed, 4 insertions, 16 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 9b8ddec0ddf..26a5694e925 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -421,17 +421,9 @@ tSCC zBad_LvalList[] = * Machine/OS name selection pattern */ #define apzBad_LvalMachs (const char**)NULL - -/* - * content selection pattern - do fix if pattern found - */ -tSCC zBad_LvalSelect0[] = - "^[ \t]*#[ \t]*pragma[ \t]extern_prefix"; - -#define BAD_LVAL_TEST_CT 1 -#define BAD_LVAL_RE_CT 1 -tTestDesc aBad_LvalTests[] = { - { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, }; +#define BAD_LVAL_TEST_CT 0 +#define BAD_LVAL_RE_CT 0 +#define aBad_LvalTests (tTestDesc*)NULL /* * Fix Command Arguments for Bad_Lval @@ -3823,7 +3815,7 @@ cat > /dev/null", * * List of all fixes */ -#define REGEX_COUNT 76 +#define REGEX_COUNT 75 #define FIX_COUNT 104 tFixDesc fixDescList[ FIX_COUNT ] = { { zAix_SyswaitName, zAix_SyswaitList, diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 0695368e232..85627d0910c 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -185,7 +185,6 @@ fix = { */ fix = { hackname = bad_lval; - select = "^[ \t]*#[ \t]*pragma[ \t]extern_prefix"; files = libgen.h; files = dirent.h; files = ftw.h; diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh index fda21b63820..9945d468e0d 100755 --- a/gcc/fixinc/inclhack.sh +++ b/gcc/fixinc/inclhack.sh @@ -638,8 +638,6 @@ struct rusage; ./stropts.h | \ ./time.h | \ ./unistd.h ) - if ( test -n "`egrep '^[ ]*#[ ]*pragma[ ]extern_prefix' ${file}`" - ) > /dev/null 2>&1 ; then fixlist="${fixlist} bad_lval" if [ ! -r ${DESTFILE} ] @@ -650,7 +648,6 @@ struct rusage; < $infile > ${DESTDIR}/fixinc.tmp rm -f ${DESTFILE} mv -f ${DESTDIR}/fixinc.tmp ${DESTFILE} - fi # end of selection 'if' ;; # case end for file name test esac |