Commit c0a77c92 by Jeff Law

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
parent ef1f5877
...@@ -421,17 +421,9 @@ tSCC zBad_LvalList[] = ...@@ -421,17 +421,9 @@ tSCC zBad_LvalList[] =
* Machine/OS name selection pattern * Machine/OS name selection pattern
*/ */
#define apzBad_LvalMachs (const char**)NULL #define apzBad_LvalMachs (const char**)NULL
#define BAD_LVAL_TEST_CT 0
/* #define BAD_LVAL_RE_CT 0
* content selection pattern - do fix if pattern found #define aBad_LvalTests (tTestDesc*)NULL
*/
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 }, };
/* /*
* Fix Command Arguments for Bad_Lval * Fix Command Arguments for Bad_Lval
...@@ -3823,7 +3815,7 @@ cat > /dev/null", ...@@ -3823,7 +3815,7 @@ cat > /dev/null",
* *
* List of all fixes * List of all fixes
*/ */
#define REGEX_COUNT 76 #define REGEX_COUNT 75
#define FIX_COUNT 104 #define FIX_COUNT 104
tFixDesc fixDescList[ FIX_COUNT ] = { tFixDesc fixDescList[ FIX_COUNT ] = {
{ zAix_SyswaitName, zAix_SyswaitList, { zAix_SyswaitName, zAix_SyswaitList,
......
...@@ -185,7 +185,6 @@ fix = { ...@@ -185,7 +185,6 @@ fix = {
*/ */
fix = { fix = {
hackname = bad_lval; hackname = bad_lval;
select = "^[ \t]*#[ \t]*pragma[ \t]extern_prefix";
files = libgen.h; files = libgen.h;
files = dirent.h; files = dirent.h;
files = ftw.h; files = ftw.h;
......
...@@ -638,8 +638,6 @@ struct rusage; ...@@ -638,8 +638,6 @@ struct rusage;
./stropts.h | \ ./stropts.h | \
./time.h | \ ./time.h | \
./unistd.h ) ./unistd.h )
if ( test -n "`egrep '^[ ]*#[ ]*pragma[ ]extern_prefix' ${file}`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist} fixlist="${fixlist}
bad_lval" bad_lval"
if [ ! -r ${DESTFILE} ] if [ ! -r ${DESTFILE} ]
...@@ -650,7 +648,6 @@ struct rusage; ...@@ -650,7 +648,6 @@ struct rusage;
< $infile > ${DESTDIR}/fixinc.tmp < $infile > ${DESTDIR}/fixinc.tmp
rm -f ${DESTFILE} rm -f ${DESTFILE}
mv -f ${DESTDIR}/fixinc.tmp ${DESTFILE} mv -f ${DESTDIR}/fixinc.tmp ${DESTFILE}
fi # end of selection 'if'
;; # case end for file name test ;; # case end for file name test
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment