OSDN Git Service

* fixinc/inclhack.def (bad_lval): Remove bogus selector.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 1999 01:53:49 +0000 (01:53 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 1999 01:53:49 +0000 (01:53 +0000)
        * 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

gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def
gcc/fixinc/inclhack.sh

index 9b8ddec..26a5694 100644 (file)
@@ -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,
index 0695368..85627d0 100644 (file)
@@ -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;
index fda21b6..9945d46 100755 (executable)
@@ -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