update generated files

From-SVN: r20181
This commit is contained in:
Bruce Korb 1998-06-02 07:02:02 +00:00
parent f6770495f9
commit 8dafb9d7be
3 changed files with 646 additions and 201 deletions

View File

@ -2,7 +2,7 @@
#
# DO NOT EDIT THIS FILE (fixincl.sh)
#
# It has been autogen-ed Thursday May 28, 1998 at 08:21:16 AM PDT
# It has been autogen-ed Tuesday June 02, 1998 at 06:46:41 AM PDT
# From the definitions inclhack.def
# and the template file inclhack.tpl
#
@ -10,7 +10,7 @@
# files which are fixed to work correctly with ANSI C and placed in a
# directory that GNU C will search.
#
# This script contains 101 fixup scripts.
# This script contains 108 fixup scripts.
#
# See README-fixinc for more information.
#

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
#
# DO NOT EDIT THIS FILE (inclhack.sh)
#
# It has been autogen-ed Thursday May 28, 1998 at 08:21:14 AM PDT
# It has been autogen-ed Tuesday June 02, 1998 at 06:45:50 AM PDT
# From the definitions inclhack.def
# and the template file inclhack.tpl
#
@ -10,7 +10,7 @@
# files which are fixed to work correctly with ANSI C and placed in a
# directory that GNU C will search.
#
# This script contains 101 fixup scripts.
# This script contains 108 fixup scripts.
#
# See README-fixinc for more information.
#
@ -592,7 +592,41 @@ extern "C" {\
#
# Fix 13: Broken_Assert_Stdio
# Fix 13: Bad_Lval
#
case "$file" in ./libgen.h | \
./dirent.h | \
./ftw.h | \
./grp.h | \
./ndbm.h | \
./pthread.h | \
./pwd.h | \
./signal.h | \
./standards.h | \
./stdlib.h | \
./string.h | \
./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 ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
sed -e 's/^[ ]*#[ ]*define[ ]*\([^(]*\)\(([^)]*)\)[ ]*\(_.\)\1\2[ ]*$/#define \1 \3\1/' \
< $infile > ${DESTDIR}/$file.
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
#
# Fix 14: Broken_Assert_Stdio
#
case "$file" in ./assert.h )
if ( test -n "`egrep 'stderr' $file`" -a \
@ -616,7 +650,7 @@ extern "C" {\
#
# Fix 14: Broken_Assert_Stdlib
# Fix 15: Broken_Assert_Stdlib
#
case "$file" in ./assert.h )
if ( test -n "`egrep 'exit *\\(|abort *\\(' $file`" -a \
@ -642,7 +676,7 @@ extern "C" {\
#
# Fix 15: Bsd43_Io_Macros
# Fix 16: Bsd43_Io_Macros
#
if ( test -n "`egrep 'BSD43__IO' $file`"
) > /dev/null 2>&1 ; then
@ -661,7 +695,7 @@ extern "C" {\
#
# Fix 16: Cxx_Cmnt_Hpux
# Fix 17: Cxx_Cmnt_Hpux
#
case "$file" in ./sys/pci.h )
if ( test -n "`egrep 'System Private Structures' $file`"
@ -682,7 +716,7 @@ extern "C" {\
#
# Fix 17: Cxx_Cmnt_Irix
# Fix 18: Cxx_Cmnt_Irix
#
case "$file" in ./fam.h )
if ( test -n "`egrep 'indigo.esd' $file`"
@ -703,7 +737,7 @@ extern "C" {\
#
# Fix 18: Cxx_Cmnt_Sunos
# Fix 19: Cxx_Cmnt_Sunos
#
case "$file" in ./sbusdev/audiovar.h | \
./sys/audiovar.h )
@ -722,7 +756,7 @@ extern "C" {\
#
# Fix 19: Cxx_Cmnt_Vxworks
# Fix 20: Cxx_Cmnt_Vxworks
#
case "$file" in ./drv/netif/if_med.h )
if ( test -n "`egrep 'Wind River' $file`"
@ -743,7 +777,7 @@ extern "C" {\
#
# Fix 20: Ecd_Cursor
# Fix 21: Ecd_Cursor
#
case "$file" in ./sunwindow/win_lock.h | \
./sunwindow/win_cursor.h )
@ -762,7 +796,7 @@ extern "C" {\
#
# Fix 21: Else_Label
# Fix 22: Else_Label
#
if ( test -n "`egrep '^[ ]*#[ ]*else[ ]+[!-.0-~]' $file`"
) > /dev/null 2>&1 ; then
@ -786,9 +820,9 @@ s%^\([ ]*#[ ]*else\)[ ]*[^/ ].*%\1%' \
#
# Fix 22: Endif_Label
# Fix 23: Endif_Label
#
if ( test -n "`egrep '^[ ]*#[ ]*endif[ ]+[!-.0-~]' $file`"
if ( test -n "`egrep '^[ ]*#[ ]*endif[ ]+[!-.0-z{|}~]' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
endif_label"
@ -811,7 +845,7 @@ s%^\([ ]*#[ ]*endif\)[ ]*[^/* ].*%\1%' \
#
# Fix 23: Hp_Inline
# Fix 24: Hp_Inline
#
case "$file" in ./sys/spinlock.h )
if ( test -n "`egrep 'include.*\"\\.\\./machine/' $file`"
@ -833,7 +867,7 @@ s%^\([ ]*#[ ]*endif\)[ ]*[^/* ].*%\1%' \
#
# Fix 24: Hp_Sysfile
# Fix 25: Hp_Sysfile
#
case "$file" in ./sys/file.h )
if ( test -n "`egrep 'HPUX_SOURCE' $file`"
@ -854,10 +888,9 @@ s%^\([ ]*#[ ]*endif\)[ ]*[^/* ].*%\1%' \
#
# Fix 25: Hpux_Cxx_Unready
# Fix 26: Hpux_Cxx_Unready
#
case "$file" in ./assert.h | \
./sys/mman.h )
case "$file" in ./sys/mman.h )
if ( test -z "`egrep '\"C\"|__BEGIN_DECLS' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
@ -886,7 +919,7 @@ extern "C" {\
#
# Fix 26: Hpux_Maxint
# Fix 27: Hpux_Maxint
#
case "$file" in ./sys/param.h )
fixlist="${fixlist}
@ -909,7 +942,7 @@ extern "C" {\
#
# Fix 27: Hpux_Systime
# Fix 28: Hpux_Systime
#
case "$file" in ./sys/time.h )
if ( test -n "`egrep '^extern struct sigevent;' $file`"
@ -930,7 +963,7 @@ extern "C" {\
#
# Fix 28: Interactv_Add1
# Fix 29: Interactv_Add1
#
case "$file" in ./stdio.h | \
./math.h | \
@ -957,7 +990,7 @@ extern "C" {\
#
# Fix 29: Interactv_Add2
# Fix 30: Interactv_Add2
#
case "$file" in ./math.h )
if ( test '(' -d /etc/conf/kconfig.d ')' -a \
@ -979,7 +1012,7 @@ extern "C" {\
#
# Fix 30: Interactv_Add3
# Fix 31: Interactv_Add3
#
case "$file" in ./sys/limits.h )
if ( test '(' -d /etc/conf/kconfig.d ')' -a \
@ -1002,7 +1035,7 @@ extern "C" {\
#
# Fix 31: Io_Def_Quotes
# Fix 32: Io_Def_Quotes
#
if ( test -n "`egrep '[ ]_IO[A-Z]*[ ]*\\([A-Za-z]' $file`"
) > /dev/null 2>&1 ; then
@ -1022,7 +1055,7 @@ extern "C" {\
#
# Fix 32: Ioctl_Fix_Ctrl
# Fix 33: Ioctl_Fix_Ctrl
#
if ( test -n "`egrep 'CTRL[ ]' $file`"
) > /dev/null 2>&1 ; then
@ -1044,7 +1077,7 @@ extern "C" {\
#
# Fix 33: Ip_Missing_Semi
# Fix 34: Ip_Missing_Semi
#
case "$file" in ./netinet/ip.h )
fixlist="${fixlist}
@ -1062,7 +1095,7 @@ extern "C" {\
#
# Fix 34: Irix_Bogus_Cxx_Cmnt
# Fix 35: Irix_Bogus_Cxx_Cmnt
#
case "$file" in ./elf_abi.h | \
./elf.h )
@ -1081,7 +1114,7 @@ extern "C" {\
#
# Fix 35: Irix_Multiline_Cmnt
# Fix 36: Irix_Multiline_Cmnt
#
case "$file" in ./sys/types.h )
fixlist="${fixlist}
@ -1100,7 +1133,7 @@ extern "C" {\
#
# Fix 36: Irix_Sockaddr
# Fix 37: Irix_Sockaddr
#
case "$file" in ./rpc/auth.h )
if ( test -n "`egrep 'authdes_create.*struct sockaddr' $file`"
@ -1123,7 +1156,7 @@ struct sockaddr;
#
# Fix 37: Irix_Struct__File
# Fix 38: Irix_Struct__File
#
case "$file" in ./rpc/xdr.h )
fixlist="${fixlist}
@ -1143,7 +1176,7 @@ struct __file_s;
#
# Fix 38: Isc_Fmod
# Fix 39: Isc_Fmod
#
case "$file" in ./math.h )
if ( test -n "`egrep 'fmod\\(double\\)' $file`"
@ -1164,7 +1197,27 @@ struct __file_s;
#
# Fix 39: Isc_Sys_Limits
# Fix 40: Motorola_Nested
#
case "$file" in ./limits.h | \
./sys/limits.h )
fixlist="${fixlist}
motorola_nested"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
sed -e 's@^\(#undef[ ][ ]*PIPE_BUF[ ]*/\* max # bytes atomic in write to a\)$@\1 */@' \
-e 's@\(/\*#define HUGE_VAL 3.40282346638528860e+38 \)\(/\*error value returned by Math lib\*/\)$@\1*/ \2@' \
< $infile > ${DESTDIR}/$file.
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
;; # case end for file name test
esac
#
# Fix 41: Isc_Sys_Limits
#
case "$file" in ./sys/limits.h )
if ( test -n "`egrep 'CHILD_MAX' $file`"
@ -1186,7 +1239,7 @@ struct __file_s;
#
# Fix 40: Kandr_Concat
# Fix 42: Kandr_Concat
#
case "$file" in ./sparc/asm_linkage.h | \
./sun3/asm_linkage.h | \
@ -1224,7 +1277,7 @@ struct __file_s;
#
# Fix 41: Limits_Ifndefs
# Fix 43: Limits_Ifndefs
#
case "$file" in ./limits.h )
if ( test -z "`egrep 'ifndef[ ]+FLT_MIN' $file`"
@ -1271,6 +1324,7 @@ struct __file_s;
-e '/[ ]DBL_DIG[ ]/a\
#endif
' \
-e '/^\(\/\*#define HUGE_VAL 3\.[0-9e+]* *\)\/\*/s//\1/' \
< $infile > ${DESTDIR}/$file.
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
@ -1280,7 +1334,7 @@ struct __file_s;
#
# Fix 42: Lynx_Void_Int
# Fix 44: Lynx_Void_Int
#
case "$file" in ./curses.h )
if ( test -n "`egrep '#[ ]*define[ ]+void[ ]+int' $file`"
@ -1301,7 +1355,7 @@ struct __file_s;
#
# Fix 43: Lynxos_Fcntl_Proto
# Fix 45: Lynxos_Fcntl_Proto
#
case "$file" in ./fcntl.h )
fixlist="${fixlist}
@ -1319,7 +1373,7 @@ struct __file_s;
#
# Fix 44: M88k_Bad_Hypot_Opt
# Fix 46: M88k_Bad_Hypot_Opt
#
case "$file" in ./math.h )
case "$target_canonical" in m88k-motorola-sysv3* )
@ -1354,7 +1408,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 45: M88k_Bad_S_If
# Fix 47: M88k_Bad_S_If
#
case "$file" in ./sys/stat.h )
case "$target_canonical" in m88k-*-sysv3* )
@ -1379,7 +1433,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 46: M88k_Multi_Incl
# Fix 48: M88k_Multi_Incl
#
case "$file" in ./time.h )
case "$target_canonical" in m88k-tektronix-sysv3* )
@ -1415,7 +1469,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 47: Machine_Name
# Fix 49: Machine_Name
#
if ( test -n "`egrep '^#[ ]*(if|elif).*[^a-zA-Z0-9_](_*[MSRrhim]|[Mbimnpstuv])[a-zA-Z0-9_]' $file`"
) > /dev/null 2>&1 ; then
@ -1467,7 +1521,7 @@ s/\\+++fixinc_eol+++/\\/g
#
# Fix 48: Math_Exception
# Fix 50: Math_Exception
#
case "$file" in ./math.h )
if ( test -n "`egrep 'struct exception' $file`"
@ -1507,7 +1561,7 @@ s/\\+++fixinc_eol+++/\\/g
#
# Fix 49: Math_Gcc_Ifndefs
# Fix 51: Math_Gcc_Ifndefs
#
case "$file" in ./math.h )
fixlist="${fixlist}
@ -1548,7 +1602,7 @@ s/\\+++fixinc_eol+++/\\/g
#
# Fix 50: Motorola_Stupid_Opt
# Fix 52: Motorola_Stupid_Opt
#
case "$file" in ./math.h )
case "$target_canonical" in m88k-motorola-sysv3* )
@ -1585,7 +1639,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 51: Nested_Comment
# Fix 53: Nested_Comment
#
case "$file" in ./rpc/rpc.h )
fixlist="${fixlist}
@ -1603,7 +1657,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 52: News_Os_Recursion
# Fix 54: News_Os_Recursion
#
case "$file" in ./stdlib.h )
if ( test -n "`egrep '#include <stdlib.h>' $file`"
@ -1629,7 +1683,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 53: Next_Math_Prefix
# Fix 55: Next_Math_Prefix
#
case "$file" in ./ansi/math.h )
if ( test -n "`egrep '^extern.*double.*__const__.*' $file`"
@ -1654,7 +1708,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 54: Next_Template
# Fix 56: Next_Template
#
case "$file" in ./bsd/libc.h )
if ( test -n "`egrep 'template' $file`"
@ -1676,7 +1730,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 55: Next_Volitile
# Fix 57: Next_Volitile
#
case "$file" in ./ansi/stdlib.h )
if ( test -n "`egrep 'volatile' $file`"
@ -1698,7 +1752,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 56: Next_Wait_Union
# Fix 58: Next_Wait_Union
#
case "$file" in ./sys/wait.h )
if ( test -n "`egrep 'wait\\(union wait' $file`"
@ -1719,10 +1773,10 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 57: No_Double_Slash
# Fix 59: No_Double_Slash
#
if ( test -n "`egrep '//[^*]' $file`" -a \
'(' -z "`echo ${f}|grep ++`" ')'
'(' -z "`echo ${file}|egrep '++|\.hh$|\.H$'`" ')'
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
no_double_slash"
@ -1738,7 +1792,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 58: Nodeent_Syntax
# Fix 60: Nodeent_Syntax
#
case "$file" in ./netdnet/dnetdb.h )
fixlist="${fixlist}
@ -1756,7 +1810,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 59: Osf_Namespace_A
# Fix 61: Osf_Namespace_A
#
case "$file" in ./reg_types.h | \
./sys/lc_core.h )
@ -1780,7 +1834,7 @@ static __inline__ double fake_hypot (x, y)\
#
# Fix 60: Osf_Namespace_B
# Fix 62: Osf_Namespace_B
#
case "$file" in ./regex.h )
if ( test '(' -r reg_types.h-a -r sys/lc_core.h-a -n "`grep '} regex_t;' reg_types.h`"-a -z "`grep __regex_t regex.h`" ')'
@ -1805,7 +1859,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 61: Pthread_Page_Size
# Fix 63: Pthread_Page_Size
#
case "$file" in ./pthread.h )
if ( test -n "`egrep '^int __page_size' $file`"
@ -1826,7 +1880,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 62: Rs6000_Double
# Fix 64: Rs6000_Double
#
case "$file" in ./math.h )
if ( test -n "`egrep '[^a-zA-Z_]class\\(' $file`"
@ -1852,7 +1906,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 63: Rs6000_Fchmod
# Fix 65: Rs6000_Fchmod
#
case "$file" in ./sys/stat.h )
if ( test -n "`egrep 'fchmod\\(char' $file`"
@ -1873,7 +1927,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 64: Rs6000_Param
# Fix 66: Rs6000_Param
#
case "$file" in ./stdio.h | \
./unistd.h )
@ -1892,7 +1946,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 65: Sony_Include
# Fix 67: Sony_Include
#
case "$file" in ./machine/machparam.h )
if ( test -n "`egrep '\"\\.\\./machine/endian.h\"' $file`"
@ -1913,7 +1967,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 66: Statsswtch
# Fix 68: Statsswtch
#
case "$file" in ./rpcsvc/rstat.h )
if ( test -n "`egrep 'boottime$' $file`"
@ -1934,7 +1988,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 67: Stdio_Va_List
# Fix 69: Stdio_Va_List
#
case "$file" in ./stdio.h )
fixlist="${fixlist}
@ -1973,7 +2027,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 68: Sun_Bogus_Ifdef
# Fix 70: Sun_Bogus_Ifdef
#
case "$file" in ./hsfs/hsfs_spec.h | \
./hsfs/iso_spec.h )
@ -1995,7 +2049,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 69: Sun_Bogus_Ifdef_Sun4c
# Fix 71: Sun_Bogus_Ifdef_Sun4c
#
case "$file" in ./hsfs/hsnode.h )
if ( test -n "`egrep '#ifdef __i386__ || __sun4c__' $file`"
@ -2016,7 +2070,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 70: Sun_Catmacro
# Fix 72: Sun_Catmacro
#
case "$file" in ./pixrect/memvar.h )
if ( test -n "`egrep '^#define[ ]+CAT(a,b)' $file`"
@ -2044,7 +2098,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 71: Sun_Malloc
# Fix 73: Sun_Malloc
#
case "$file" in ./malloc.h )
fixlist="${fixlist}
@ -2065,7 +2119,7 @@ typedef __regmatch_t regmatch_t;
#
# Fix 72: Sun_Memcpy
# Fix 74: Sun_Memcpy
#
case "$file" in ./memory.h )
if ( test -n "`egrep '/\\* @\\(#\\)(head/memory.h 50.1 |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2 )\\*/' $file`"
@ -2107,7 +2161,7 @@ extern int memcmp();\
#
# Fix 73: Sun_Rusers_Semi
# Fix 75: Sun_Rusers_Semi
#
case "$file" in ./rpcsvc/rusers.h )
if ( test -n "`egrep '_cnt$' $file`"
@ -2128,7 +2182,7 @@ extern int memcmp();\
#
# Fix 74: Sun_Signal
# Fix 76: Sun_Signal
#
case "$file" in ./sys/signal.h | \
./signal.h )
@ -2157,7 +2211,7 @@ void (*signal(...))(...);\
#
# Fix 75: Sun_Xdr_Proto
# Fix 77: Sun_Xdr_Proto
#
case "$file" in ./rpc/xdr.h )
fixlist="${fixlist}
@ -2180,7 +2234,7 @@ void (*signal(...))(...);\
#
# Fix 76: Sunos_Large_Macro
# Fix 78: Sunos_Large_Macro
#
case "$file" in ./sundev/ipi_error.h )
fixlist="${fixlist}
@ -2204,7 +2258,7 @@ cat > /dev/null ) < $infile > ${DESTDIR}/$file.
#
# Fix 77: Sunos_Matherr_Decl
# Fix 79: Sunos_Matherr_Decl
#
case "$file" in ./math.h )
if ( test '(' "`fgrep 'struct exception' $file | line`" != 'struct exception {' ')'
@ -2227,7 +2281,7 @@ struct exception;
#
# Fix 78: Sunos_Strlen
# Fix 80: Sunos_Strlen
#
case "$file" in ./strings.h )
fixlist="${fixlist}
@ -2245,7 +2299,7 @@ struct exception;
#
# Fix 79: Systypes
# Fix 81: Systypes
#
case "$file" in ./sys/types.h | \
./stdlib.h | \
@ -2299,10 +2353,11 @@ typedef __SIZE_TYPE__ size_t;\
#
# Fix 80: Systypes_For_Aix
# Fix 82: Systypes_For_Aix
#
case "$file" in ./sys/types.h )
if ( test -n "`egrep 'typedef[ ][ ]*[A-Za-z_][ A-Za-z_]*[ ]size_t' $file`"
if ( test -n "`egrep 'typedef[ ][ ]*[A-Za-z_][ A-Za-z_]*[ ]size_t' $file`" -a \
-z "`egrep '_GCC_SIZE_T' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
systypes_for_aix"
@ -2326,7 +2381,7 @@ typedef __SIZE_TYPE__ size_t;\
#
# Fix 81: Sysv68_String
# Fix 83: Sysv68_String
#
case "$file" in ./string.h )
fixlist="${fixlist}
@ -2354,7 +2409,7 @@ extern unsigned int\
#
# Fix 82: Sysz_Stdlib_For_Sun
# Fix 84: Sysz_Stdlib_For_Sun
#
case "$file" in ./stdlib.h )
case "$target_canonical" in *-sun-* | \
@ -2388,7 +2443,7 @@ extern unsigned int\
#
# Fix 83: Sysz_Stdtypes_For_Sun
# Fix 85: Sysz_Stdtypes_For_Sun
#
case "$file" in ./sys/stdtypes.h )
fixlist="${fixlist}
@ -2426,7 +2481,7 @@ extern unsigned int\
#
# Fix 84: Tinfo_Cplusplus
# Fix 86: Tinfo_Cplusplus
#
case "$file" in ./tinfo.h )
fixlist="${fixlist}
@ -2444,7 +2499,7 @@ extern unsigned int\
#
# Fix 85: Ultrix_Ansi_Compat
# Fix 87: Ultrix_Ansi_Compat
#
case "$file" in ./ansi_compat.h )
if ( test -n "`egrep 'ULTRIX' $file`"
@ -2468,7 +2523,7 @@ extern unsigned int\
#
# Fix 86: Ultrix_Atof_Param
# Fix 88: Ultrix_Atof_Param
#
case "$file" in ./math.h )
fixlist="${fixlist}
@ -2490,7 +2545,7 @@ extern unsigned int\
#
# Fix 87: Ultrix_Const
# Fix 89: Ultrix_Const
#
case "$file" in ./stdio.h )
fixlist="${fixlist}
@ -2516,7 +2571,7 @@ extern unsigned int\
#
# Fix 88: Ultrix_Ifdef
# Fix 90: Ultrix_Ifdef
#
case "$file" in ./sys/file.h )
if ( test -n "`egrep '#ifdef KERNEL' $file`"
@ -2537,7 +2592,7 @@ extern unsigned int\
#
# Fix 89: Ultrix_Nested_Cmnt
# Fix 91: Ultrix_Nested_Cmnt
#
case "$file" in ./rpc/svc.h )
fixlist="${fixlist}
@ -2555,7 +2610,7 @@ extern unsigned int\
#
# Fix 90: Ultrix_Static
# Fix 92: Ultrix_Static
#
case "$file" in ./machine/cpu.h )
if ( test -n "`egrep '#include \"r[34]_cpu' $file`"
@ -2578,7 +2633,7 @@ extern unsigned int\
#
# Fix 91: Undefine_Null
# Fix 93: Undefine_Null
#
if ( test -n "`egrep '^#[ ]*define[ ]*[ ]NULL[ ]' $file`" -a \
-z "`egrep '#[ ]*(ifn|un)def[ ]*[ ]NULL($|[ ])' $file`"
@ -2599,7 +2654,7 @@ extern unsigned int\
#
# Fix 92: Va_I960_Macro
# Fix 94: Va_I960_Macro
#
case "$file" in ./arch/i960/archI960.h )
if ( test -n "`egrep '__(vsiz|vali|vpad|alignof__)' $file`"
@ -2623,7 +2678,7 @@ extern unsigned int\
#
# Fix 93: Void_Null
# Fix 95: Void_Null
#
case "$file" in ./curses.h | \
./dbm.h | \
@ -2654,7 +2709,7 @@ extern unsigned int\
#
# Fix 94: Vxworks_Gcc_Problem
# Fix 96: Vxworks_Gcc_Problem
#
case "$file" in ./types/vxTypesBase.h )
if ( test -n "`egrep '__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__' $file`"
@ -2696,7 +2751,7 @@ extern unsigned int\
#
# Fix 95: Vxworks_Needs_Vxtypes
# Fix 97: Vxworks_Needs_Vxtypes
#
case "$file" in ./time.h )
if ( test -n "`egrep 'uint_t[ ][ ]*_clocks_per_sec' $file`"
@ -2717,7 +2772,7 @@ extern unsigned int\
#
# Fix 96: Vxworks_Needs_Vxworks
# Fix 98: Vxworks_Needs_Vxworks
#
case "$file" in ./sys/stat.h )
if ( test -n "`egrep '#[ ]define[ ][ ]*__INCstath' $file`" -a \
@ -2743,7 +2798,7 @@ extern unsigned int\
#
# Fix 97: Vxworks_Time
# Fix 99: Vxworks_Time
#
case "$file" in ./time.h )
if ( test -n "`egrep 'VOIDFUNCPTR' $file`" -a \
@ -2775,7 +2830,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\
#
# Fix 98: X11_Class
# Fix 100: X11_Class
#
case "$file" in ./X11/ShellP.h )
if ( test -z "`egrep '__cplusplus' $file`"
@ -2786,12 +2841,12 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\
then infile=$file
else infile=${DESTDIR}/$file ; fi
sed -e '/char [*]class;/i\
sed -e '/char \*class;/i\
#ifdef __cplusplus\
char *c_class;\
#else
' \
-e '/char [*]class;/a\
-e '/char \*class;/a\
#endif
' \
< $infile > ${DESTDIR}/$file.
@ -2803,7 +2858,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\
#
# Fix 99: X11_Class_Usage
# Fix 101: X11_Class_Usage
#
case "$file" in ./Xm/BaseClassI.h )
if ( test -z "`egrep '__cplusplus' $file`"
@ -2824,7 +2879,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\
#
# Fix 100: X11_New
# Fix 102: X11_New
#
case "$file" in ./Xm/Traversal.h )
if ( test -z "`egrep '__cplusplus' $file`"
@ -2853,7 +2908,7 @@ typedef void (*__gcc_VOIDFUNCPTR) ();\
#
# Fix 101: X11_Sprintf
# Fix 103: X11_Sprintf
#
case "$file" in ./X11*/Xmu.h )
fixlist="${fixlist}
@ -2870,6 +2925,141 @@ extern char * sprintf();\
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
;; # case end for file name test
esac
#
# Fix 104: Zzz_Ki_Iface
#
case "$file" in ./sys/ki_iface.h )
if ( test -n "`egrep 'These definitions are for HP Internal developers' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
zzz_ki_iface"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
( echo "Removing incorrect fix to HP-UX <$file>" >&2
rm -f ${DESTDIR}/$file ${DESTDIR}/$file.
cat > /dev/null ) < $infile > ${DESTDIR}/$file.
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
#
if test ! -f ${DESTDIR}/$file.
then continue ; fi
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
#
# Fix 105: Zzz_Ki
#
case "$file" in ./sys/ki.h )
if ( test -n "`egrep '11.00 HP-UX LP64' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
zzz_ki"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
( echo "Removing incorrect fix to HP-UX <$file>" >&2
rm -f ${DESTDIR}/$file ${DESTDIR}/$file.
cat > /dev/null ) < $infile > ${DESTDIR}/$file.
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
#
if test ! -f ${DESTDIR}/$file.
then continue ; fi
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
#
# Fix 106: Zzz_Ki_Calls
#
case "$file" in ./sys/ki_calls.h )
if ( test -n "`egrep 'KI_MAX_PROCS is an arbitrary number' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
zzz_ki_calls"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
( echo "Removing incorrect fix to HP-UX <$file>" >&2
rm -f ${DESTDIR}/$file ${DESTDIR}/$file.
cat > /dev/null ) < $infile > ${DESTDIR}/$file.
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
#
if test ! -f ${DESTDIR}/$file.
then continue ; fi
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
#
# Fix 107: Zzz_Ki_Defs
#
case "$file" in ./sys/ki_defs.h )
if ( test -n "`egrep 'Kernel Instrumentation Definitions' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
zzz_ki_defs"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
( echo "Removing incorrect fix to HP-UX <$file>" >&2
rm -f ${DESTDIR}/$file ${DESTDIR}/$file.
cat > /dev/null ) < $infile > ${DESTDIR}/$file.
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
#
if test ! -f ${DESTDIR}/$file.
then continue ; fi
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
#
# Fix 108: Zzz_Time
#
case "$file" in ./sys/time.h )
if ( test -n "`egrep 'For CASPEC, look in' $file`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}
zzz_time"
if [ ! -r ${DESTDIR}/$file ]
then infile=$file
else infile=${DESTDIR}/$file ; fi
( echo "Removing incorrect fix to HP-UX <$file>" >&2
rm -f ${DESTDIR}/$file ${DESTDIR}/$file.
cat > /dev/null ) < $infile > ${DESTDIR}/$file.
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
#
if test ! -f ${DESTDIR}/$file.
then continue ; fi
mv -f ${DESTDIR}/$file. ${DESTDIR}/$file
fi # end of selection 'if'
;; # case end for file name test
esac
# IF the output has been removed OR it is unchanged,
# THEN ensure the output is gone
# ELSE look for local directory include syntax