inclhack.def (bad_lval): Remove bogus selector.

* fixinc/inclhack.def (bad_lval): Remove bogus selector.
        * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.

From-SVN: r27423
This commit is contained in:
Jeff Law 1999-06-07 19:53:49 -06:00
parent ef1f587734
commit c0a77c9272
3 changed files with 4 additions and 16 deletions

View 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,

View 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;

View File

@ -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