inclhack.def (limits_ifndefs): Also apply to sys/limits.h

Thu Jun  3 23:58:55 1999  Jeffrey A Law  (law@cygnus.com)
        * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
        * fixinc/fixincl.x: Regenerated.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r27336
This commit is contained in:
Jeffrey A Law 1999-06-03 23:01:37 +00:00 committed by Jeff Law
parent 5ebd88f719
commit 6e6d7a9f70
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
* fixinc/fixincl.x: Regenerated.
* fixinc/inclhack.sh: Regenerated.
Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
* fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression

View File

@ -1379,7 +1379,7 @@ tSCC zLimits_IfndefsName[] =
* File name selection pattern
*/
tSCC zLimits_IfndefsList[] =
"|limits.h|";
"|limits.h|sys/limits.h|";
/*
* Machine/OS name selection pattern
*/

View File

@ -725,6 +725,7 @@ fix = {
fix = {
hackname = limits_ifndefs;
files = "limits.h";
files = "sys/limits.h";
bypass = "ifndef[ \t]+FLT_MIN";
sed = "/[ \t]FLT_MIN[ \t]/i\\\n#ifndef FLT_MIN\n";

View File

@ -1275,7 +1275,8 @@ struct __file_s;
#
# Fix 40: Limits_Ifndefs
#
case "${file}" in ./limits.h )
case "${file}" in ./limits.h | \
./sys/limits.h )
if ( test -z "`egrep 'ifndef[ ]+FLT_MIN' ${file}`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}