diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-08-15 12:54:08 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-10-02 18:34:57 -0400 |
commit | 821805a244cacd9869331999cd53407f3323206a (patch) | |
tree | 683241784dda0711327df684d4c12bf2a18ca855 | |
parent | 95318fb638d5803b82c05a3976715fa2f1e4623e (diff) | |
download | perl-821805a244cacd9869331999cd53407f3323206a.tar.gz |
Remove unused filesystem stat symbols.
d_fs_data_s HAS_STRUCT_FS_DATA
d_fstatfs HAS_FSTATFS
d_fstatvfs HAS_FSTATVFS
d_getfsstat HAS_GETFSSTAT
d_getmnt HAS_GETMNT
d_getmntent HAS_GETMNTENT
d_hasmntopt HAS_HASMNTOPT
d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS
d_statfs_s HAS_STRUCT_STATFS
d_ustat HAS_USTAT
i_mntent I_MNTENT
i_sysmount I_SYS_MOUNT
i_sysstatfs I_SYS_STATFS
i_sysstatvfs I_SYS_STATVFS
i_sysvfs I_SYS_VFS
i_ustat I_USTAT
Unused by the Perl core.
As far as I can remember I added these scans long ago, for some
purpose (df(1) kind of APIs?) but whatever it was, it obviously
hasn't exactly caught fire in the last 15 years.
Some rare uses of these APIs (not these defines, but e.g. statfs)
in CPAN (like the Quota module), but those seem to do their own
configuration.
-rwxr-xr-x | Configure | 129 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 17 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux-n770 | 17 | ||||
-rw-r--r-- | NetWare/config.wc | 17 | ||||
-rw-r--r-- | NetWare/config_H.wc | 99 | ||||
-rw-r--r-- | Porting/Glossary | 73 | ||||
-rw-r--r-- | Porting/config.sh | 17 | ||||
-rw-r--r-- | Porting/config_H | 100 | ||||
-rwxr-xr-x | config_h.SH | 100 | ||||
-rw-r--r-- | configure.com | 32 | ||||
-rw-r--r-- | hints/linux-android.sh | 12 | ||||
-rw-r--r-- | perl.c | 8 | ||||
-rw-r--r-- | plan9/config.plan9 | 99 | ||||
-rw-r--r-- | plan9/config_h.sample | 99 | ||||
-rw-r--r-- | plan9/config_sh.sample | 17 | ||||
-rw-r--r-- | symbian/config.sh | 17 | ||||
-rw-r--r-- | uconfig.h | 100 | ||||
-rw-r--r-- | uconfig.sh | 17 | ||||
-rw-r--r-- | uconfig64.sh | 17 | ||||
-rw-r--r-- | win32/config.ce | 17 | ||||
-rw-r--r-- | win32/config.gc | 17 | ||||
-rw-r--r-- | win32/config.vc | 17 | ||||
-rw-r--r-- | win32/config_H.ce | 99 | ||||
-rw-r--r-- | win32/config_H.gc | 100 | ||||
-rw-r--r-- | win32/config_H.vc | 100 |
25 files changed, 0 insertions, 1337 deletions
@@ -496,10 +496,8 @@ d_fpclassl='' d_fpgetround='' d_fpos64_t='' d_frexpl='' -d_fs_data_s='' d_fseeko='' d_fsetpos='' -d_fstatfs='' d_fsync='' d_ftello='' d_ftime='' @@ -509,7 +507,6 @@ d_Gconvert='' d_getaddrinfo='' d_getcwd='' d_getespwnam='' -d_getfsstat='' d_getgrent='' d_getgrent_r='' getgrent_r_proto='' @@ -536,8 +533,6 @@ d_getitimer='' d_getlogin='' d_getlogin_r='' getlogin_r_proto='' -d_getmnt='' -d_getmntent='' d_getnameinfo='' d_getnbyaddr='' d_getnbyname='' @@ -591,7 +586,6 @@ d_gmtime_r='' gmtime_r_proto='' d_gnulibc='' gnulibc_version='' -d_hasmntopt='' d_htonl='' d_hypot='' d_ilogb='' @@ -822,12 +816,8 @@ d_sresgproto='' d_sresuproto='' d_stat='' d_statblks='' -d_statfs_f_flags='' -d_statfs_s='' d_static_inline='' perl_static_inline='' -d_fstatvfs='' -d_statvfs='' d_stdio_cnt_lval='' d_stdio_ptr_lval='' d_stdio_ptr_lval_nochange_cnt='' @@ -899,7 +889,6 @@ d_unordered='' d_unsetenv='' d_usleep='' d_usleepproto='' -d_ustat='' d_pseudofork='' d_vfork='' usevfork='' @@ -982,7 +971,6 @@ i_malloc='' i_mallocmalloc='' i_math='' i_memory='' -i_mntent='' d_gdbm_ndbm_h_uses_prototypes='' d_gdbmndbm_h_uses_prototypes='' d_ndbm='' @@ -1028,7 +1016,6 @@ i_syssockio='' i_syslog='' i_sysmman='' i_sysmode='' -i_sysmount='' i_sysndir='' i_sysparam='' i_syspoll='' @@ -1036,14 +1023,11 @@ i_sysresrc='' i_syssecrt='' i_sysselct='' i_sysstat='' -i_sysstatfs='' -i_sysstatvfs='' i_systimes='' i_systypes='' i_sysuio='' i_sysun='' i_sysutsname='' -i_sysvfs='' i_syswait='' i_sgtty='' i_termio='' @@ -1055,7 +1039,6 @@ i_systimek='' i_time='' timeincl='' i_unistd='' -i_ustat='' i_utime='' i_values='' i_stdarg='' @@ -14086,20 +14069,6 @@ eval $inlibc set sys/param.h i_sysparam eval $inhdr -: see if this is a sys/mount.h system -set sys/mount.h i_sysmount -eval $inhdr - -: Check for fs_data_s -echo " " -echo "Checking to see if your system supports struct fs_data..." >&4 -set d_fs_data_s fs_data $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h -eval $hasstruct -case "$d_fs_data_s" in -"$define") echo "Yes, it does." ;; -*) echo "No, it doesn't." ;; -esac - : see if fseeko exists set fseeko d_fseeko eval $inlibc @@ -14111,19 +14080,6 @@ esac set fsetpos d_fsetpos eval $inlibc -: see if fstatfs exists -set fstatfs d_fstatfs -eval $inlibc - -: see if statvfs exists -set statvfs d_statvfs -eval $inlibc - -: see if fstatvfs exists -set fstatvfs d_fstatvfs -eval $inlibc - - : see if fsync exists set fsync d_fsync eval $inlibc @@ -14236,10 +14192,6 @@ eval $inlibc set getespwnam d_getespwnam eval $inlibc -: see if getfsstat exists -set getfsstat d_getfsstat -eval $inlibc - : see if getgrent exists set getgrent d_getgrent eval $inlibc @@ -14769,14 +14721,6 @@ case "$d_getlogin_r" in ;; esac -: see if getmnt exists -set getmnt d_getmnt -eval $inlibc - -: see if getmntent exists -set getmntent d_getmntent -eval $inlibc - : see if getnameinfo exists set getnameinfo d_getnameinfo eval $inlibc @@ -15633,10 +15577,6 @@ case "$d_gmtime_r" in ;; esac -: see if hasmntopt exists -set hasmntopt d_hasmntopt -eval $inlibc - : see if this is a netinet/in.h or sys/in.h system set netinet/in.h i_niin sys/in.h i_sysin eval $inhdr @@ -18919,43 +18859,6 @@ echo "Checking to see if your struct stat has st_blocks field..." >&4 set d_statblks stat st_blocks $i_sysstat sys/stat.h eval $hasfield -: see if this is a sys/vfs.h system -set sys/vfs.h i_sysvfs -eval $inhdr - -: see if this is a sys/statfs.h system -set sys/statfs.h i_sysstatfs -eval $inhdr - -: Check for statfs_s -echo " " -echo "Checking to see if your system supports struct statfs..." >&4 -set d_statfs_s statfs $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h $i_sysvfs sys/vfs.h $i_sysstatfs sys/statfs.h -eval $hasstruct -case "$d_statfs_s" in -"$define") echo "Yes, it does." ;; -*) echo "No, it doesn't." ;; -esac - - -: see if struct statfs knows about f_flags -case "$d_statfs_s" in -define) - echo " " - echo "Checking to see if your struct statfs has f_flags field..." >&4 - set d_statfs_f_flags statfs f_flags $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h $i_sysvfs sys/vfs.h $i_sysstatfs sys/statfs.h - eval $hasfield - ;; -*) val="$undef" - set d_statfs_f_flags - eval $setvar - ;; -esac -case "$d_statfs_f_flags" in -"$define") echo "Yes, it does." ;; -*) echo "No, it doesn't." ;; -esac - : see what flavor, if any, of static inline is supported echo " " echo "Checking to see if your system supports static inline..." @@ -19909,10 +19812,6 @@ echo " " set d_usleepproto usleep $i_unistd unistd.h eval $hasproto -: see if ustat exists -set ustat d_ustat -eval $inlibc - : see if closedir exists set closedir d_closedir eval $inlibc @@ -22983,10 +22882,6 @@ else i_machcthr="$undef" fi -: see if this is a mntent.h system -set mntent.h i_mntent -eval $inhdr - : see if net/errno.h is available val='' set net/errno.h val @@ -23427,10 +23322,6 @@ eval $inhdr set sys/security.h i_syssecrt eval $inhdr -: see if this is a sys/statvfs.h system -set sys/statvfs.h i_sysstatvfs -eval $inhdr - : see if this is a sys/un.h system set sys/un.h i_sysun eval $inhdr @@ -23443,10 +23334,6 @@ eval $inhdr set sys/wait.h i_syswait eval $inhdr -: see if this is a ustat.h system -set ustat.h i_ustat -eval $inhdr - : see if this is an utime system set utime.h i_utime eval $inhdr @@ -24196,8 +24083,6 @@ d_frexpl='$d_frexpl' d_fs_data_s='$d_fs_data_s' d_fseeko='$d_fseeko' d_fsetpos='$d_fsetpos' -d_fstatfs='$d_fstatfs' -d_fstatvfs='$d_fstatvfs' d_fsync='$d_fsync' d_ftello='$d_ftello' d_ftime='$d_ftime' @@ -24207,7 +24092,6 @@ d_gdbmndbm_h_uses_prototypes='$d_gdbmndbm_h_uses_prototypes' d_getaddrinfo='$d_getaddrinfo' d_getcwd='$d_getcwd' d_getespwnam='$d_getespwnam' -d_getfsstat='$d_getfsstat' d_getgrent='$d_getgrent' d_getgrent_r='$d_getgrent_r' d_getgrgid_r='$d_getgrgid_r' @@ -24224,8 +24108,6 @@ d_gethostprotos='$d_gethostprotos' d_getitimer='$d_getitimer' d_getlogin='$d_getlogin' d_getlogin_r='$d_getlogin_r' -d_getmnt='$d_getmnt' -d_getmntent='$d_getmntent' d_getnameinfo='$d_getnameinfo' d_getnbyaddr='$d_getnbyaddr' d_getnbyname='$d_getnbyname' @@ -24266,7 +24148,6 @@ d_gmtime64='$d_gmtime64' d_gmtime_r='$d_gmtime_r' d_gnulibc='$d_gnulibc' d_grpasswd='$d_grpasswd' -d_hasmntopt='$d_hasmntopt' d_htonl='$d_htonl' d_hypot='$d_hypot' d_ilogb='$d_ilogb' @@ -24496,10 +24377,7 @@ d_sresgproto='$d_sresgproto' d_sresuproto='$d_sresuproto' d_stat='$d_stat' d_statblks='$d_statblks' -d_statfs_f_flags='$d_statfs_f_flags' -d_statfs_s='$d_statfs_s' d_static_inline='$d_static_inline' -d_statvfs='$d_statvfs' d_stdio_cnt_lval='$d_stdio_cnt_lval' d_stdio_ptr_lval='$d_stdio_ptr_lval' d_stdio_ptr_lval_nochange_cnt='$d_stdio_ptr_lval_nochange_cnt' @@ -24558,7 +24436,6 @@ d_unordered='$d_unordered' d_unsetenv='$d_unsetenv' d_usleep='$d_usleep' d_usleepproto='$d_usleepproto' -d_ustat='$d_ustat' d_vendorarch='$d_vendorarch' d_vendorbin='$d_vendorbin' d_vendorlib='$d_vendorlib' @@ -24709,7 +24586,6 @@ i_malloc='$i_malloc' i_mallocmalloc='$i_mallocmalloc' i_math='$i_math' i_memory='$i_memory' -i_mntent='$i_mntent' i_ndbm='$i_ndbm' i_netdb='$i_netdb' i_neterrno='$i_neterrno' @@ -24740,7 +24616,6 @@ i_sysioctl='$i_sysioctl' i_syslog='$i_syslog' i_sysmman='$i_sysmman' i_sysmode='$i_sysmode' -i_sysmount='$i_sysmount' i_sysndir='$i_sysndir' i_sysparam='$i_sysparam' i_syspoll='$i_syspoll' @@ -24749,8 +24624,6 @@ i_syssecrt='$i_syssecrt' i_sysselct='$i_sysselct' i_syssockio='$i_syssockio' i_sysstat='$i_sysstat' -i_sysstatfs='$i_sysstatfs' -i_sysstatvfs='$i_sysstatvfs' i_systime='$i_systime' i_systimek='$i_systimek' i_systimes='$i_systimes' @@ -24758,13 +24631,11 @@ i_systypes='$i_systypes' i_sysuio='$i_sysuio' i_sysun='$i_sysun' i_sysutsname='$i_sysutsname' -i_sysvfs='$i_sysvfs' i_syswait='$i_syswait' i_termio='$i_termio' i_termios='$i_termios' i_time='$i_time' i_unistd='$i_unistd' -i_ustat='$i_ustat' i_utime='$i_utime' i_values='$i_values' i_varargs='$i_varargs' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index d4ee56b56e..2ac27dfc0c 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -222,11 +222,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='define' -d_fs_data_s='undef' d_fseeko='define' d_fsetpos='define' -d_fstatfs='define' -d_fstatvfs='define' d_fsync='define' d_ftello='define' d_ftime='undef' @@ -236,7 +233,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='define' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -253,8 +249,6 @@ d_gethostprotos='define' d_getitimer='define' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='define' d_getnameinfo='undef' d_getnbyaddr='define' d_getnbyname='define' @@ -295,7 +289,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='define' d_grpasswd='define' -d_hasmntopt='define' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -521,10 +514,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='define' -d_statfs_f_flags='undef' -d_statfs_s='define' d_static_inline='undef' -d_statvfs='define' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='define' d_stdio_ptr_lval_nochange_cnt='undef' @@ -583,7 +573,6 @@ d_unordered='undef' d_unsetenv='define' d_usleep='define' d_usleepproto='define' -d_ustat='define' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -730,7 +719,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='define' i_ndbm='undef' i_netdb='define' i_neterrno='undef' @@ -761,7 +749,6 @@ i_sysioctl='define' i_syslog='define' i_sysmman='define' i_sysmode='undef' -i_sysmount='define' i_sysndir='undef' i_sysparam='define' i_syspoll='undef' @@ -770,8 +757,6 @@ i_syssecrt='undef' i_sysselct='define' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='define' -i_sysstatvfs='define' i_systime='define' i_systimek='undef' i_systimes='define' @@ -779,13 +764,11 @@ i_systypes='define' i_sysuio='define' i_sysun='define' i_sysutsname='define' -i_sysvfs='define' i_syswait='define' i_termio='undef' i_termios='define' i_time='define' i_unistd='define' -i_ustat='define' i_utime='define' i_values='define' i_varargs='undef' diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770 index 96e10199c8..32af6d4ea3 100644 --- a/Cross/config.sh-arm-linux-n770 +++ b/Cross/config.sh-arm-linux-n770 @@ -197,18 +197,14 @@ d_fpclassify='undef' d_fpclassl='undef' d_fpos64_t='undef' d_frexpl='define' -d_fs_data_s='undef' d_fseeko='define' d_fsetpos='define' -d_fstatfs='define' -d_fstatvfs='define' d_fsync='define' d_ftello='define' d_ftime='undef' d_futimes='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='define' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -225,8 +221,6 @@ d_gethostprotos='define' d_getitimer='define' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='define' d_getnbyaddr='define' d_getnbyname='define' d_getnent='define' @@ -265,7 +259,6 @@ d_gettimeod='define' d_gmtime_r='undef' d_gnulibc='define' d_grpasswd='define' -d_hasmntopt='define' d_htonl='define' d_ilogbl='define' d_inc_version_list='define' @@ -441,9 +434,6 @@ d_srandom_r='undef' d_sresgproto='undef' d_sresuproto='undef' d_statblks='define' -d_statfs_f_flags='undef' -d_statfs_s='define' -d_statvfs='define' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='define' d_stdio_ptr_lval_nochange_cnt='undef' @@ -499,7 +489,6 @@ d_unordered='undef' d_unsetenv='define' d_usleep='define' d_usleepproto='define' -d_ustat='define' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -636,7 +625,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='define' i_ndbm='undef' i_netdb='define' i_neterrno='undef' @@ -664,7 +652,6 @@ i_sysioctl='define' i_syslog='define' i_sysmman='define' i_sysmode='undef' -i_sysmount='define' i_sysndir='undef' i_syspoll='define' i_sysparam='define' @@ -673,8 +660,6 @@ i_syssecrt='undef' i_sysselct='define' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='define' -i_sysstatvfs='define' i_systime='define' i_systimek='undef' i_systimes='define' @@ -682,13 +667,11 @@ i_systypes='define' i_sysuio='define' i_sysun='define' i_sysutsname='define' -i_sysvfs='define' i_syswait='define' i_termio='undef' i_termios='define' i_time='define' i_unistd='define' -i_ustat='define' i_utime='define' i_values='define' i_varargs='undef' diff --git a/NetWare/config.wc b/NetWare/config.wc index e70b4dfd16..7e80150967 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -210,11 +210,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='define' @@ -224,7 +221,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -241,8 +237,6 @@ d_gethostprotos='define' d_getitimer='undef' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -284,7 +278,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -511,10 +504,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -573,7 +563,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -712,7 +701,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='define' i_neterrno='undef' @@ -743,7 +731,6 @@ i_sysioctl='define' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -752,8 +739,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='define' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -761,13 +746,11 @@ i_systypes='define' i_sysuio='undef' i_sysun='undef' i_sysutsname='define' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='undef' -i_ustat='undef' i_utime='define' i_values='undef' i_varargs='undef' diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index 701ed306ef..fc3486d00e 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -1313,24 +1313,12 @@ */ /*#define HAS_FREXPL /**/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA /**/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO /**/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS /**/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -1373,12 +1361,6 @@ */ /*#define HAS_GETESPWNAM /**/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT /**/ - /* HAS_GETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for sequential access of the group database. @@ -1446,18 +1428,6 @@ */ /*#define HAS_GETITIMER /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT /**/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT /**/ - /* HAS_GETNETBYADDR: * This symbol, if defined, indicates that the getnetbyaddr() routine is * available to look up networks by their IP addresses. @@ -1580,11 +1550,6 @@ #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT /**/ /* HAS_HTONL: * This symbol, if defined, indicates that the htonl() routine (and @@ -2084,29 +2049,6 @@ /*#define USE_STAT_BLOCKS /**/ #endif -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS /**/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS /**/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS /**/ - /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer @@ -2282,12 +2224,6 @@ /*#define USE_SEMCTL_SEMUN /**/ /*#define USE_SEMCTL_SEMID_DS /**/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT /**/ - /* HAS_VFORK: * This symbol, if defined, indicates that vfork() exists. */ @@ -2503,12 +2439,6 @@ */ /*#define I_MACH_CTHREADS /**/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT /**/ - /* I_NETDB: * This symbol, if defined, indicates that <netdb.h> exists and * should be included. @@ -2615,23 +2545,6 @@ */ /*#define I_SYSMODE /**/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT /**/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS /**/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS /**/ - /* I_SYSUIO: * This symbol, if defined, indicates that <sys/uio.h> exists and * should be included. @@ -2644,12 +2557,6 @@ */ #define I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS /**/ - /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include <time.h>. @@ -2666,12 +2573,6 @@ /*#define I_SYS_TIME /**/ /*#define I_SYS_TIME_KERNEL /**/ -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT /**/ - /* PERL_INC_VERSION_LIST: * This variable specifies the list of subdirectories in over * which perl.c:incpush() and lib/lib.pm will automatically diff --git a/Porting/Glossary b/Porting/Glossary index 2cd4bb38c2..39c3924a9e 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -932,10 +932,6 @@ d_frexpl (d_frexpl.U): This variable conditionally defines the HAS_FREXPL symbol, which indicates to the C program that the frexpl() routine is available. -d_fs_data_s (d_fs_data_s.U): - This variable conditionally defines the HAS_STRUCT_FS_DATA symbol, - which indicates that the struct fs_data is supported. - d_fseeko (d_fseeko.U): This variable conditionally defines the HAS_FSEEKO symbol, which indicates to the C program that the fseeko() routine is available. @@ -944,14 +940,6 @@ d_fsetpos (d_fsetpos.U): This variable conditionally defines HAS_FSETPOS if fsetpos() is available to set the file position indicator. -d_fstatfs (d_fstatfs.U): - This variable conditionally defines the HAS_FSTATFS symbol, which - indicates to the C program that the fstatfs() routine is available. - -d_fstatvfs (d_statvfs.U): - This variable conditionally defines the HAS_FSTATVFS symbol, which - indicates to the C program that the fstatvfs() routine is available. - d_fsync (d_fsync.U): This variable conditionally defines the HAS_FSYNC symbol, which indicates to the C program that the fsync() routine is available. @@ -1022,10 +1010,6 @@ d_getespwnam (d_getespwnam.U): This variable conditionally defines HAS_GETESPWNAM if getespwnam() is available to retrieve enhanced (shadow) password entries by name. -d_getfsstat (d_getfsstat.U): - This variable conditionally defines the HAS_GETFSSTAT symbol, which - indicates to the C program that the getfsstat() routine is available. - d_getgrent (d_getgrent.U): This variable conditionally defines the HAS_GETGRENT symbol, which indicates to the C program that the getgrent() routine is available @@ -1105,16 +1089,6 @@ d_getlogin_r (d_getlogin_r.U): which indicates to the C program that the getlogin_r() routine is available. -d_getmnt (d_getmnt.U): - This variable conditionally defines the HAS_GETMNT symbol, which - indicates to the C program that the getmnt() routine is available - to retrieve one or more mount info blocks by filename. - -d_getmntent (d_getmntent.U): - This variable conditionally defines the HAS_GETMNTENT symbol, which - indicates to the C program that the getmntent() routine is available - to iterate through mounted files to get their mount info. - d_getnameinfo (d_getnameinfo.U): This variable conditionally defines the HAS_GETNAMEINFO symbol, which indicates to the C program that the getnameinfo() function @@ -1310,11 +1284,6 @@ d_grpasswd (i_grp.U): This variable conditionally defines GRPASSWD, which indicates that struct group in <grp.h> contains gr_passwd. -d_hasmntopt (d_hasmntopt.U): - This variable conditionally defines the HAS_HASMNTOPT symbol, which - indicates to the C program that the hasmntopt() routine is available - to query the mount options of file systems. - d_htonl (d_htonl.U): This variable conditionally defines HAS_HTONL if htonl() and its friends are available to do network order byte swapping. @@ -2430,26 +2399,12 @@ d_statblks (d_statblks.U): if this system has a stat structure declaring st_blksize and st_blocks. -d_statfs_f_flags (d_statfs_f_flags.U): - This variable conditionally defines the HAS_STRUCT_STATFS_F_FLAGS - symbol, which indicates to struct statfs from has f_flags member. - This kind of struct statfs is coming from sys/mount.h (BSD), - not from sys/statfs.h (SYSV). - -d_statfs_s (d_statfs_s.U): - This variable conditionally defines the HAS_STRUCT_STATFS symbol, - which indicates that the struct statfs is supported. - d_static_inline (d_static_inline.U): This variable conditionally defines the HAS_STATIC_INLINE symbol, which indicates that the C compiler supports C99-style static inline. That is, the function can't be called from another translation unit. -d_statvfs (d_statvfs.U): - This variable conditionally defines the HAS_STATVFS symbol, which - indicates to the C program that the statvfs() routine is available. - d_stdio_cnt_lval (d_stdstdio.U): This variable conditionally defines STDIO_CNT_LVALUE if the FILE_cnt macro can be used as an lvalue. @@ -2712,10 +2667,6 @@ d_usleepproto (d_usleepproto.U): a prototype for the usleep() function. Otherwise, it is up to the program to supply one. -d_ustat (d_ustat.U): - This variable conditionally defines HAS_USTAT if ustat() is - available to query file system statistics by dev_t. - d_vendorarch (vendorarch.U): This variable conditionally defined PERL_VENDORARCH. @@ -3447,10 +3398,6 @@ i_memory (i_memory.U): This variable conditionally defines the I_MEMORY symbol, and indicates whether a C program should include <memory.h>. -i_mntent (i_mntent.U): - This variable conditionally defines the I_MNTENT symbol, and indicates - whether a C program should include <mntent.h>. - i_ndbm (i_ndbm.U): This variable conditionally defines the I_NDBM symbol, which indicates to the C program that <ndbm.h> exists and should @@ -3584,10 +3531,6 @@ i_sysmode (i_sysmode.U): This variable conditionally defines the I_SYSMODE symbol, and indicates whether a C program should include <sys/mode.h>. -i_sysmount (i_sysmount.U): - This variable conditionally defines the I_SYSMOUNT symbol, - and indicates whether a C program should include <sys/mount.h>. - i_sysndir (i_sysndir.U): This variable conditionally defines the I_SYS_NDIR symbol, and indicates whether a C program should include <sys/ndir.h>. @@ -3622,14 +3565,6 @@ i_sysstat (i_sysstat.U): This variable conditionally defines the I_SYS_STAT symbol, and indicates whether a C program should include <sys/stat.h>. -i_sysstatfs (i_sysstatfs.U): - This variable conditionally defines the I_SYSSTATFS symbol, - and indicates whether a C program should include <sys/statfs.h>. - -i_sysstatvfs (i_sysstatvfs.U): - This variable conditionally defines the I_SYSSTATVFS symbol, - and indicates whether a C program should include <sys/statvfs.h>. - i_systime (i_time.U): This variable conditionally defines I_SYS_TIME, which indicates to the C program that it should include <sys/time.h>. @@ -3660,10 +3595,6 @@ i_sysutsname (i_sysutsname.U): This variable conditionally defines the I_SYSUTSNAME symbol, and indicates whether a C program should include <sys/utsname.h>. -i_sysvfs (i_sysvfs.U): - This variable conditionally defines the I_SYSVFS symbol, - and indicates whether a C program should include <sys/vfs.h>. - i_syswait (i_syswait.U): This variable conditionally defines I_SYS_WAIT, which indicates to the C program that it should include <sys/wait.h>. @@ -3686,10 +3617,6 @@ i_unistd (i_unistd.U): This variable conditionally defines the I_UNISTD symbol, and indicates whether a C program should include <unistd.h>. -i_ustat (i_ustat.U): - This variable conditionally defines the I_USTAT symbol, and indicates - whether a C program should include <ustat.h>. - i_utime (i_utime.U): This variable conditionally defines the I_UTIME symbol, and indicates whether a C program should include <utime.h>. diff --git a/Porting/config.sh b/Porting/config.sh index 0a11cde6f1..cc4675fcee 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -231,11 +231,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='define' -d_fs_data_s='undef' d_fseeko='define' d_fsetpos='define' -d_fstatfs='define' -d_fstatvfs='define' d_fsync='define' d_ftello='define' d_ftime='undef' @@ -245,7 +242,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='define' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='define' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -262,8 +258,6 @@ d_gethostprotos='define' d_getitimer='define' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='define' d_getnameinfo='define' d_getnbyaddr='define' d_getnbyname='define' @@ -304,7 +298,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='define' d_grpasswd='define' -d_hasmntopt='define' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -532,10 +525,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='define' -d_statfs_f_flags='define' -d_statfs_s='define' d_static_inline='define' -d_statvfs='define' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='define' d_stdio_ptr_lval_nochange_cnt='undef' @@ -594,7 +584,6 @@ d_unordered='undef' d_unsetenv='define' d_usleep='define' d_usleepproto='define' -d_ustat='define' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -745,7 +734,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='define' i_ndbm='define' i_netdb='define' i_neterrno='undef' @@ -776,7 +764,6 @@ i_sysioctl='define' i_syslog='define' i_sysmman='define' i_sysmode='undef' -i_sysmount='define' i_sysndir='undef' i_sysparam='define' i_syspoll='define' @@ -785,8 +772,6 @@ i_syssecrt='undef' i_sysselct='define' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='define' -i_sysstatvfs='define' i_systime='define' i_systimek='undef' i_systimes='define' @@ -794,13 +779,11 @@ i_systypes='define' i_sysuio='define' i_sysun='define' i_sysutsname='define' -i_sysvfs='define' i_syswait='define' i_termio='undef' i_termios='define' i_time='define' i_unistd='define' -i_ustat='define' i_utime='define' i_values='define' i_varargs='undef' diff --git a/Porting/config_H b/Porting/config_H index 30c24eb7be..7c9209eb9f 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -3340,24 +3340,12 @@ */ #define HAS_FREXPL /**/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ #define HAS_FSEEKO /**/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -#define HAS_FSTATFS /**/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -3395,30 +3383,12 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETITIMER: * This symbol, if defined, indicates that the getitimer routine is * available to return interval timers. */ #define HAS_GETITIMER /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -#define HAS_GETMNTENT /**/ - /* HAS_GETNAMEINFO: * This symbol, if defined, indicates that the getnameinfo() function * is available for use. @@ -3437,12 +3407,6 @@ */ #define HAS_GETSPNAM /**/ -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -#define HAS_HASMNTOPT /**/ - /* HAS_ILOGBL: * This symbol, if defined, indicates that the ilogbl routine is * available. If scalbnl is also present we can emulate frexpl. @@ -3746,29 +3710,6 @@ */ /*#define HAS_SETRESUID_PROTO / **/ -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -#define HAS_STRUCT_STATFS /**/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -#define HAS_FSTATVFS /**/ - /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to do time formatting. @@ -3906,12 +3847,6 @@ */ #define HAS_USLEEP_PROTO /**/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -#define HAS_USTAT /**/ - /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -4022,12 +3957,6 @@ */ /*#define I_MALLOCMALLOC / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -#define I_MNTENT /**/ - /* I_NETINET_TCP: * This symbol, if defined, indicates to the C program that it should * include <netinet/tcp.h>. @@ -4076,41 +4005,12 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -#define I_SYS_MOUNT /**/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -#define I_SYS_STATFS /**/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -#define I_SYS_STATVFS /**/ - /* I_SYSUTSNAME: * This symbol, if defined, indicates that <sys/utsname.h> exists and * should be included. */ #define I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -#define I_SYS_VFS /**/ - -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -#define I_USTAT /**/ - /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to * format long doubles (format 'f') for output. diff --git a/config_h.SH b/config_h.SH index 0d4a409d2d..6260258ab6 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3747,24 +3747,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_frexpl HAS_FREXPL /**/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -#$d_fs_data_s HAS_STRUCT_FS_DATA /**/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ #$d_fseeko HAS_FSEEKO /**/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -#$d_fstatfs HAS_FSTATFS /**/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -3802,30 +3790,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_getespwnam HAS_GETESPWNAM /**/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -#$d_getfsstat HAS_GETFSSTAT /**/ - /* HAS_GETITIMER: * This symbol, if defined, indicates that the getitimer routine is * available to return interval timers. */ #$d_getitimer HAS_GETITIMER /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -#$d_getmnt HAS_GETMNT /**/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -#$d_getmntent HAS_GETMNTENT /**/ - /* HAS_GETNAMEINFO: * This symbol, if defined, indicates that the getnameinfo() function * is available for use. @@ -3844,12 +3814,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_getspnam HAS_GETSPNAM /**/ -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -#$d_hasmntopt HAS_HASMNTOPT /**/ - /* HAS_HYPOT: * This symbol, if defined, indicates that the hypot routine is * available to do the hypotenuse function. @@ -4367,29 +4331,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_sresuproto HAS_SETRESUID_PROTO /**/ -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -#$d_statfs_s HAS_STRUCT_STATFS /**/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -#$d_fstatvfs HAS_FSTATVFS /**/ - /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to do time formatting. @@ -4545,12 +4486,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_usleepproto HAS_USLEEP_PROTO /**/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -#$d_ustat HAS_USTAT /**/ - /* HAS_WCSCMP: * This symbol, if defined, indicates that the wcscmp routine is * available to compare two wide character strings. @@ -4687,12 +4622,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$i_mallocmalloc I_MALLOCMALLOC /**/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -#$i_mntent I_MNTENT /**/ - /* I_NETINET_TCP: * This symbol, if defined, indicates to the C program that it should * include <netinet/tcp.h>. @@ -4759,41 +4688,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$i_sysmode I_SYSMODE /**/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -#$i_sysmount I_SYS_MOUNT /**/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -#$i_sysstatfs I_SYS_STATFS /**/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -#$i_sysstatvfs I_SYS_STATVFS /**/ - /* I_SYSUTSNAME: * This symbol, if defined, indicates that <sys/utsname.h> exists and * should be included. */ #$i_sysutsname I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -#$i_sysvfs I_SYS_VFS /**/ - -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -#$i_ustat I_USTAT /**/ - /* DOUBLEINFBYTES: * This symbol, if defined, is a comma-separated list of * hexadecimal bytes for the double precision infinity. diff --git a/configure.com b/configure.com index f882e633d3..53fdd6afb2 100644 --- a/configure.com +++ b/configure.com @@ -5277,20 +5277,6 @@ $ d_setreuid = "define" $ d_setsid = "define" $ endif $! -$! VMS V8 powered options -$! We know that it is only available for 8.2 and later on 64 bit platforms. -$! -$ d_fstatvfs = "undef" -$ d_statvfs = "undef" -$ i_sysstatvfs = "undef" -$ if (vms_ver .GES. "8.2") -$ then -$ echo "Found 64 bit OpenVMS ''vms_ver' -- will build with 8.2 routines" -$ d_fstatvfs = "define" -$ d_statvfs = "define" -$ i_sysstatvfs = "define" -$ endif -$! $! Check rand48 and its ilk $! $ echo4 "Using our internal random number implementation..." @@ -6038,11 +6024,8 @@ $ WC "d_fpclassl='undef'" $ WC "d_fpgetround='undef'" $ WC "d_fpos64_t='" + d_fpos64_t + "'" $ WC "d_frexpl='" + d_frexpl + "'" -$ WC "d_fs_data_s='undef'" $ WC "d_fseeko='" + d_fseeko + "'" $ WC "d_fsetpos='define'" -$ WC "d_fstatfs='undef'" -$ WC "d_fstatvfs='" + d_fstatvfs + "'" $ WC "d_fsync='define'" $ WC "d_ftello='" + d_ftello + "'" $ WC "d_ftime='define'" @@ -6052,7 +6035,6 @@ $ WC "d_gdbm_ndbm_h_uses_prototypes='undef'" $ WC "d_getaddrinfo='define'" $ WC "d_getcwd='define'" $ WC "d_getespwnam='undef'" -$ WC "d_getfsstat='undef'" $ WC "d_getgrent='define'" $ WC "d_getgrps='undef'" $ WC "d_gethbyaddr='" + d_gethbyaddr + "'" @@ -6062,8 +6044,6 @@ $ WC "d_gethname='" + d_gethname + "'" $ WC "d_gethostprotos='" + d_gethostprotos + "'" $ WC "d_getitimer='" + d_getitimer + "'" $ WC "d_getlogin='define'" -$ WC "d_getmnt='undef'" -$ WC "d_getmntent='undef'" $ WC "d_getnameinfo='define'" $ WC "d_getnbyaddr='" + d_getnbyaddr + "'" $ WC "d_getnbyname='" + d_getnbyname + "'" @@ -6090,7 +6070,6 @@ $ WC "d_gettimeod='" + d_gettimeod + "'" $ WC "d_gmtime64='undef'" $ WC "d_gnulibc='undef'" $ WC "d_grpasswd='undef'" -$ WC "d_hasmntopt='undef'" $ WC "d_htonl='" + d_htonl + "'" $ WC "d_hypot='" + d_hypot + "'" $ WC "d_ilogb='" + d_ilogb + "'" @@ -6319,9 +6298,6 @@ $ WC "d_sresproto='undef'" $ WC "d_sresuproto='undef'" $ WC "d_stat='define'" $ WC "d_statblks='undef'" -$ WC "d_statfs_f_flags='undef'" -$ WC "d_statfs_s='undef'" -$ WC "d_statfsflags='undef'" $ WC "d_static_inline='define'" $ WC "d_stdio_cnt_lval='" + d_stdio_cnt_lval + "'" $ WC "d_stdio_ptr_lval='" + d_stdio_ptr_lval + "'" @@ -6331,7 +6307,6 @@ $ WC "d_stdio_stream_array='undef'" $ WC "d_stdiobase='" + d_stdiobase + "'" $ WC "d_stdstdio='" + d_stdstdio + "'" $ WC "d_faststdio='" + d_faststdio + "'" -$ WC "d_statvfs='" + d_statvfs + "'" $ WC "d_strchr='define'" $ WC "d_strcoll='" + d_strcoll + "'" $ WC "d_strctcpy='define'" @@ -6388,7 +6363,6 @@ $ WC "d_unsetenv='" + d_unsetenv + "'" $ WC "d_clearenv='" + d_clearenv + "'" $ WC "d_usleep='" + d_usleep + "'" $ WC "d_usleepproto='" + d_usleep + "'" -$ WC "d_ustat='undef'" $ WC "d_vendorarch='undef'" $ WC "d_vendorbin='undef'" $ WC "d_vendorlib='undef'" @@ -6500,7 +6474,6 @@ $ WC "i_malloc='undef'" $ WC "i_mallocmalloc='undef'" $ WC "i_math='define'" $ WC "i_memory='undef'" -$ WC "i_mntent='undef'" $ WC "i_ndbm='undef'" $ WC "i_netdb='" + i_netdb + "'" $ WC "i_neterrno='define'" @@ -6536,7 +6509,6 @@ $ WC "i_sysioctl='" + i_sysioctl + "'" $ WC "i_syslog='" + i_syslog + "'" $ WC "i_sysmman='undef'" $ WC "i_sysmode='" + i_sysmode + "'" -$ WC "i_sysmount='undef'" $ WC "i_sysndir='undef'" $ WC "i_sysparam='undef'" $ WC "i_syspoll='" + i_syspoll + "'" @@ -6545,8 +6517,6 @@ $ WC "i_syssecrt='" + i_syssecrt + "'" $ WC "i_sysselct='undef'" $ WC "i_syssockio='undef'" $ WC "i_sysstat='define'" -$ WC "i_sysstatfs='undef'" -$ WC "i_sysstatvfs='" + i_sysstatvfs + "'" $ WC "i_systime='undef'" $ WC "i_systimek='undef'" $ WC "i_systimes='undef'" @@ -6554,13 +6524,11 @@ $ WC "i_systypes='define'" $ WC "i_sysuio='" + i_sysuio + "'" $ WC "i_sysun='" + i_sysun + "'" $ WC "i_sysutsname='" + i_sysutsname + "'" -$ WC "i_sysvfs='undef'" $ WC "i_syswait='undef'" $ WC "i_termio='undef'" $ WC "i_termios='undef'" $ WC "i_time='define'" $ WC "i_unistd='" + i_unistd + "'" -$ WC "i_ustat='undef'" $ WC "i_utime='" + i_utime + "'" $ WC "i_values='undef'" $ WC "i_varargs='undef'" diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 6a59cb726e..51fd5f51f6 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -80,18 +80,6 @@ if test "X$android_warn" != X; then fi $cat > try.c << 'EOM' -#include <stdio.h> -#include <mntent.h> -#include <unistd.h> -int main() { (void) getmntent(stdout); return(0); } -EOM -$cc $ccflags try.c -o try -android_warn=`$run ./try 2>&1 | $egrep "$android_stub"` -if test "X$android_warn" != X; then - d_getmntent="$undef" -fi - -$cat > try.c << 'EOM' #include <netdb.h> int main() { (void) getprotobyname("foo"); return(0); } EOM @@ -3824,14 +3824,6 @@ S_open_script(pTHX_ const char *scriptname, bool dosearch, bool *suidscript) return rsfp; } -/* Mention - * I_SYSSTATVFS HAS_FSTATVFS - * I_SYSMOUNT - * I_STATFS HAS_FSTATFS HAS_GETFSSTAT - * I_MNTENT HAS_GETMNTENT HAS_HASMNTOPT - * here so that metaconfig picks them up. */ - - #ifdef SETUID_SCRIPTS_ARE_SECURE_NOW /* Don't even need this function. */ #else diff --git a/plan9/config.plan9 b/plan9/config.plan9 index fe00e3adfa..d52342eacf 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -1478,24 +1478,12 @@ */ /*#define HAS_FREXPL / **/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS / **/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -1538,12 +1526,6 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for sequential access of the group database. @@ -1663,18 +1645,6 @@ /*#define HAS_GETLOGIN_R / **/ #define GETLOGIN_R_PROTO 0 /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT / **/ - /* HAS_GETNETBYADDR: * This symbol, if defined, indicates that the getnetbyaddr() routine is * available to look up networks by their IP addresses. @@ -1862,11 +1832,6 @@ #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT / **/ /* HAS_HTONL: * This symbol, if defined, indicates that the htonl() routine (and @@ -2469,29 +2434,6 @@ /*#define USE_STAT_BLOCKS / **/ #endif -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS / **/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS / **/ - /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer @@ -2704,12 +2646,6 @@ */ /*#define HAS_UNORDERED / **/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT / **/ - /* HAS_VFORK: * This symbol, if defined, indicates that vfork() exists. */ @@ -2891,12 +2827,6 @@ */ /*#define I_MACH_CTHREADS / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT / **/ - /* I_NETDB: * This symbol, if defined, indicates that <netdb.h> exists and * should be included. @@ -3003,23 +2933,6 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT / **/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS / **/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS / **/ - /* I_SYSUIO: * This symbol, if defined, indicates that <sys/uio.h> exists and * should be included. @@ -3032,12 +2945,6 @@ */ #define I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS / **/ - /* Plan 9: P9 has both <time.h> and <sys/time.h> */ /* I_TIME: * This symbol, if defined, indicates to the C program that it should @@ -3063,12 +2970,6 @@ /*#define I_SYS_TIME_KERNEL / **/ /*#define HAS_TM_TM_ZONE / **/ -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT / **/ - /* PERL_INC_VERSION_LIST: * This variable specifies the list of subdirectories in over * which perl.c:incpush() and lib/lib.pm will automatically diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 8b41865c13..d34ccc4303 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -1431,24 +1431,12 @@ */ /*#define HAS_FREXPL / **/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS / **/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -1491,12 +1479,6 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for sequential access of the group database. @@ -1616,18 +1598,6 @@ /*#define HAS_GETLOGIN_R / **/ #define GETLOGIN_R_PROTO 0 /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT / **/ - /* HAS_GETNETBYADDR: * This symbol, if defined, indicates that the getnetbyaddr() routine is * available to look up networks by their IP addresses. @@ -1815,11 +1785,6 @@ #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT / **/ /* HAS_HTONL: * This symbol, if defined, indicates that the htonl() routine (and @@ -2401,29 +2366,6 @@ /*#define USE_STAT_BLOCKS / **/ #endif -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS / **/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS / **/ - /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer @@ -2636,12 +2578,6 @@ */ /*#define HAS_UNORDERED / **/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT / **/ - /* HAS_VFORK: * This symbol, if defined, indicates that vfork() exists. */ @@ -2823,12 +2759,6 @@ */ /*#define I_MACH_CTHREADS / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT / **/ - /* I_NETDB: * This symbol, if defined, indicates that <netdb.h> exists and * should be included. @@ -2935,23 +2865,6 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT / **/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS / **/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS / **/ - /* I_SYSUIO: * This symbol, if defined, indicates that <sys/uio.h> exists and * should be included. @@ -2964,12 +2877,6 @@ */ #define I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS / **/ - /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include <time.h>. @@ -2994,12 +2901,6 @@ /*#define I_SYS_TIME_KERNEL / **/ /*#define HAS_TM_TM_ZONE / **/ -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT / **/ - /* PERL_INC_VERSION_LIST: * This variable specifies the list of subdirectories in over * which perl.c:incpush() and lib/lib.pm will automatically diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 2f77805c91..df9ec97855 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -222,11 +222,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='define' d_ftello='undef' d_ftime='undef' @@ -236,7 +233,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='define' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -253,8 +249,6 @@ d_gethostprotos='undef' d_getitimer='undef' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -295,7 +289,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -521,10 +514,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -583,7 +573,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -724,7 +713,6 @@ i_malloc='undef' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='define' i_neterrno='undef' @@ -755,7 +743,6 @@ i_sysioctl='define' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='define' i_syspoll='undef' @@ -764,8 +751,6 @@ i_syssecrt='undef' i_sysselct='define' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='define' @@ -773,13 +758,11 @@ i_systypes='define' i_sysuio='define' i_sysun='define' i_sysutsname='define' -i_sysvfs='undef' i_syswait='define' i_termio='undef' i_termios='define' i_time='define' i_unistd='define' -i_ustat='undef' i_utime='define' i_values='undef' i_varargs='undef' diff --git a/symbian/config.sh b/symbian/config.sh index a5aa4779a0..f1cf6ad7b8 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -166,11 +166,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='undef' @@ -181,7 +178,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -198,8 +194,6 @@ d_gethostprotos='define' d_getitimer='undef' d_getlogin='undef' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -241,7 +235,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -469,10 +462,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -531,7 +521,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='define' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -651,7 +640,6 @@ i_malloc='undef' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='define' i_neterrno='undef' @@ -682,7 +670,6 @@ i_sysioctl='define' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -691,8 +678,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='define' i_systimek='undef' i_systimes='define' @@ -700,13 +685,11 @@ i_systypes='define' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='define' -i_ustat='undef' i_utime='undef' i_values='undef' i_varargs='undef' @@ -3712,24 +3712,12 @@ */ /*#define HAS_FREXPL / **/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS / **/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -3767,30 +3755,12 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETITIMER: * This symbol, if defined, indicates that the getitimer routine is * available to return interval timers. */ /*#define HAS_GETITIMER / **/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT / **/ - /* HAS_GETNAMEINFO: * This symbol, if defined, indicates that the getnameinfo() function * is available for use. @@ -3809,12 +3779,6 @@ */ /*#define HAS_GETSPNAM / **/ -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT / **/ - /* HAS_HYPOT: * This symbol, if defined, indicates that the hypot routine is * available to do the hypotenuse function. @@ -4332,29 +4296,6 @@ */ /*#define HAS_SETRESUID_PROTO / **/ -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS / **/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS / **/ - /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to do time formatting. @@ -4510,12 +4451,6 @@ */ /*#define HAS_USLEEP_PROTO / **/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT / **/ - /* HAS_WCSCMP: * This symbol, if defined, indicates that the wcscmp routine is * available to compare two wide character strings. @@ -4652,12 +4587,6 @@ */ /*#define I_MALLOCMALLOC / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT / **/ - /* I_NETINET_TCP: * This symbol, if defined, indicates to the C program that it should * include <netinet/tcp.h>. @@ -4724,41 +4653,12 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT / **/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS / **/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS / **/ - /* I_SYSUTSNAME: * This symbol, if defined, indicates that <sys/utsname.h> exists and * should be included. */ /*#define I_SYSUTSNAME / **/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS / **/ - -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT / **/ - /* DOUBLEINFBYTES: * This symbol, if defined, is a comma-separated list of * hexadecimal bytes for the double precision infinity. diff --git a/uconfig.sh b/uconfig.sh index bd889e30f9..97f55a050b 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -160,11 +160,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='undef' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='undef' @@ -174,7 +171,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='undef' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -191,8 +187,6 @@ d_gethostprotos='undef' d_getitimer='undef' d_getlogin='undef' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -234,7 +228,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='undef' d_hypot='undef' d_ilogb='undef' @@ -460,10 +453,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -522,7 +512,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -637,7 +626,6 @@ i_malloc='undef' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='undef' i_neterrno='undef' @@ -668,7 +656,6 @@ i_sysioctl='undef' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -677,8 +664,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -686,13 +671,11 @@ i_systypes='undef' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='undef' -i_ustat='undef' i_utime='undef' i_values='undef' i_varargs='undef' diff --git a/uconfig64.sh b/uconfig64.sh index ec09c1e2f8..57b4cae2f3 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -161,11 +161,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='undef' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='undef' @@ -175,7 +172,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='undef' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -192,8 +188,6 @@ d_gethostprotos='undef' d_getitimer='undef' d_getlogin='undef' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -235,7 +229,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='undef' d_hypot='undef' d_ilogb='undef' @@ -461,10 +454,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -523,7 +513,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -638,7 +627,6 @@ i_malloc='undef' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='undef' i_neterrno='undef' @@ -669,7 +657,6 @@ i_sysioctl='undef' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -678,8 +665,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -687,13 +672,11 @@ i_systypes='undef' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='undef' -i_ustat='undef' i_utime='undef' i_values='undef' i_varargs='undef' diff --git a/win32/config.ce b/win32/config.ce index 3c10d778d7..c3f1e4906c 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -208,11 +208,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='define' @@ -222,7 +219,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -239,8 +235,6 @@ d_gethostprotos='define' d_getitimer='undef' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -282,7 +276,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -509,10 +502,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='undef' -d_statvfs='undef' d_stdio_cnt_lval='undef' d_stdio_ptr_lval='undef' d_stdio_ptr_lval_nochange_cnt='undef' @@ -571,7 +561,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -708,7 +697,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='undef' i_neterrno='undef' @@ -739,7 +727,6 @@ i_sysioctl='undef' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -748,8 +735,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -757,13 +742,11 @@ i_systypes='undef' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='undef' i_unistd='undef' -i_ustat='undef' i_utime='define' i_values='undef' i_varargs='undef' diff --git a/win32/config.gc b/win32/config.gc index e0eb2382b6..ac7d288221 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -209,11 +209,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='define' @@ -223,7 +220,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -240,8 +236,6 @@ d_gethostprotos='define' d_getitimer='undef' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -282,7 +276,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -509,10 +502,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='define' -d_statvfs='undef' d_stdio_cnt_lval='define' d_stdio_ptr_lval='define' d_stdio_ptr_lval_nochange_cnt='define' @@ -571,7 +561,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -720,7 +709,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='undef' i_neterrno='undef' @@ -751,7 +739,6 @@ i_sysioctl='undef' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -760,8 +747,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -769,13 +754,11 @@ i_systypes='define' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='undef' -i_ustat='undef' i_utime='define' i_values='undef' i_varargs='undef' diff --git a/win32/config.vc b/win32/config.vc index b4efd32b1b..2a44a067fd 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -209,11 +209,8 @@ d_fpclassl='undef' d_fpgetround='undef' d_fpos64_t='undef' d_frexpl='undef' -d_fs_data_s='undef' d_fseeko='undef' d_fsetpos='define' -d_fstatfs='undef' -d_fstatvfs='undef' d_fsync='undef' d_ftello='undef' d_ftime='define' @@ -223,7 +220,6 @@ d_gdbmndbm_h_uses_prototypes='undef' d_getaddrinfo='undef' d_getcwd='define' d_getespwnam='undef' -d_getfsstat='undef' d_getgrent='undef' d_getgrent_r='undef' d_getgrgid_r='undef' @@ -240,8 +236,6 @@ d_gethostprotos='define' d_getitimer='undef' d_getlogin='define' d_getlogin_r='undef' -d_getmnt='undef' -d_getmntent='undef' d_getnameinfo='undef' d_getnbyaddr='undef' d_getnbyname='undef' @@ -282,7 +276,6 @@ d_gmtime64='undef' d_gmtime_r='undef' d_gnulibc='undef' d_grpasswd='undef' -d_hasmntopt='undef' d_htonl='define' d_hypot='undef' d_ilogb='undef' @@ -509,10 +502,7 @@ d_sresgproto='undef' d_sresuproto='undef' d_stat='define' d_statblks='undef' -d_statfs_f_flags='undef' -d_statfs_s='undef' d_static_inline='define' -d_statvfs='undef' d_stdio_cnt_lval='define' d_stdio_ptr_lval='define' d_stdio_ptr_lval_nochange_cnt='define' @@ -571,7 +561,6 @@ d_unordered='undef' d_unsetenv='undef' d_usleep='undef' d_usleepproto='undef' -d_ustat='undef' d_vendorarch='undef' d_vendorbin='undef' d_vendorlib='undef' @@ -719,7 +708,6 @@ i_malloc='define' i_mallocmalloc='undef' i_math='define' i_memory='undef' -i_mntent='undef' i_ndbm='undef' i_netdb='undef' i_neterrno='undef' @@ -750,7 +738,6 @@ i_sysioctl='undef' i_syslog='undef' i_sysmman='undef' i_sysmode='undef' -i_sysmount='undef' i_sysndir='undef' i_sysparam='undef' i_syspoll='undef' @@ -759,8 +746,6 @@ i_syssecrt='undef' i_sysselct='undef' i_syssockio='undef' i_sysstat='define' -i_sysstatfs='undef' -i_sysstatvfs='undef' i_systime='undef' i_systimek='undef' i_systimes='undef' @@ -768,13 +753,11 @@ i_systypes='define' i_sysuio='undef' i_sysun='undef' i_sysutsname='undef' -i_sysvfs='undef' i_syswait='undef' i_termio='undef' i_termios='undef' i_time='define' i_unistd='undef' -i_ustat='undef' i_utime='define' i_values='undef' i_varargs='undef' diff --git a/win32/config_H.ce b/win32/config_H.ce index 1766a958f0..24929994df 100644 --- a/win32/config_H.ce +++ b/win32/config_H.ce @@ -1409,24 +1409,12 @@ */ /*#define HAS_FREXPL /**/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA /**/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO /**/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS /**/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -1475,12 +1463,6 @@ */ /*#define HAS_GETESPWNAM /**/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT /**/ - /* HAS_GETGRENT: * This symbol, if defined, indicates that the getgrent routine is * available for sequential access of the group database. @@ -1600,18 +1582,6 @@ /*#define HAS_GETLOGIN_R /**/ #define GETLOGIN_R_PROTO 0 /**/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT /**/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT /**/ - /* HAS_GETNETBYADDR: * This symbol, if defined, indicates that the getnetbyaddr() routine is * available to look up networks by their IP addresses. @@ -1799,11 +1769,6 @@ #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT /**/ /* HAS_HTONL: * This symbol, if defined, indicates that the htonl() routine (and @@ -2424,29 +2389,6 @@ /*#define USE_STAT_BLOCKS /**/ #endif -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS /**/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS /**/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS /**/ - /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer @@ -2665,12 +2607,6 @@ */ /*#define HAS_UNSETENV /**/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT /**/ - /* HAS_VFORK: * This symbol, if defined, indicates that vfork() exists. */ @@ -2892,12 +2828,6 @@ */ /*#define I_MACH_CTHREADS /**/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT /**/ - /* I_NETDB: * This symbol, if defined, indicates that <netdb.h> exists and * should be included. @@ -3004,23 +2934,6 @@ */ /*#define I_SYSMODE /**/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT /**/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS /**/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS /**/ - /* I_SYSUIO: * This symbol, if defined, indicates that <sys/uio.h> exists and * should be included. @@ -3033,12 +2946,6 @@ */ /*#define I_SYSUTSNAME /**/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS /**/ - /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include <time.h>. @@ -3065,12 +2972,6 @@ /*#define HAS_TM_TM_ZONE /**/ /*#define HAS_TM_TM_GMTOFF /**/ -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT /**/ - /* PERL_INC_VERSION_LIST: * This variable specifies the list of subdirectories in over * which perl.c:incpush() and lib/lib.pm will automatically diff --git a/win32/config_H.gc b/win32/config_H.gc index a9c61629a8..763afcab27 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -3674,24 +3674,12 @@ */ /*#define HAS_FREXPL / **/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS / **/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -3729,30 +3717,12 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETITIMER: * This symbol, if defined, indicates that the getitimer routine is * available to return interval timers. */ /*#define HAS_GETITIMER / **/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT / **/ - /* HAS_GETNAMEINFO: * This symbol, if defined, indicates that the getnameinfo() function * is available for use. @@ -3771,12 +3741,6 @@ */ /*#define HAS_GETSPNAM / **/ -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT / **/ - /* HAS_ILOGBL: * This symbol, if defined, indicates that the ilogbl routine is * available. If scalbnl is also present we can emulate frexpl. @@ -4117,29 +4081,6 @@ */ /*#define HAS_SETRESUID_PROTO / **/ -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS / **/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS / **/ - /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to do time formatting. @@ -4283,12 +4224,6 @@ */ /*#define HAS_USLEEP_PROTO / **/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT / **/ - /* HAS_WCSCMP: * This symbol, if defined, indicates that the wcscmp routine is * available to compare two wide character strings. @@ -4425,12 +4360,6 @@ */ /*#define I_MALLOCMALLOC / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT / **/ - /* I_NETINET_TCP: * This symbol, if defined, indicates to the C program that it should * include <netinet/tcp.h>. @@ -4491,41 +4420,12 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT / **/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS / **/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS / **/ - /* I_SYSUTSNAME: * This symbol, if defined, indicates that <sys/utsname.h> exists and * should be included. */ /*#define I_SYSUTSNAME / **/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS / **/ - -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT / **/ - /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to * format long doubles (format 'f') for output. diff --git a/win32/config_H.vc b/win32/config_H.vc index e945b3f42d..f6bbcc4ee4 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -3666,24 +3666,12 @@ */ /*#define HAS_FREXPL / **/ -/* HAS_STRUCT_FS_DATA: - * This symbol, if defined, indicates that the struct fs_data - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_FS_DATA / **/ - /* HAS_FSEEKO: * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ /*#define HAS_FSEEKO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATFS / **/ - /* HAS_FSYNC: * This symbol, if defined, indicates that the fsync routine is * available to write a file's modified data and attributes to @@ -3721,30 +3709,12 @@ */ /*#define HAS_GETESPWNAM / **/ -/* HAS_GETFSSTAT: - * This symbol, if defined, indicates that the getfsstat routine is - * available to stat filesystems in bulk. - */ -/*#define HAS_GETFSSTAT / **/ - /* HAS_GETITIMER: * This symbol, if defined, indicates that the getitimer routine is * available to return interval timers. */ /*#define HAS_GETITIMER / **/ -/* HAS_GETMNT: - * This symbol, if defined, indicates that the getmnt routine is - * available to get filesystem mount info by filename. - */ -/*#define HAS_GETMNT / **/ - -/* HAS_GETMNTENT: - * This symbol, if defined, indicates that the getmntent routine is - * available to iterate through mounted file systems to get their info. - */ -/*#define HAS_GETMNTENT / **/ - /* HAS_GETNAMEINFO: * This symbol, if defined, indicates that the getnameinfo() function * is available for use. @@ -3763,12 +3733,6 @@ */ /*#define HAS_GETSPNAM / **/ -/* HAS_HASMNTOPT: - * This symbol, if defined, indicates that the hasmntopt routine is - * available to query the mount options of file systems. - */ -/*#define HAS_HASMNTOPT / **/ - /* HAS_ILOGBL: * This symbol, if defined, indicates that the ilogbl routine is * available. If scalbnl is also present we can emulate frexpl. @@ -4109,29 +4073,6 @@ */ /*#define HAS_SETRESUID_PROTO / **/ -/* HAS_STRUCT_STATFS_F_FLAGS: - * This symbol, if defined, indicates that the struct statfs - * does have the f_flags member containing the mount flags of - * the filesystem containing the file. - * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), - * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have ustat() and getmnt() - * with struct ustat and struct fs_data. - */ -/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ - -/* HAS_STRUCT_STATFS: - * This symbol, if defined, indicates that the struct statfs - * to do statfs() is supported. - */ -/*#define HAS_STRUCT_STATFS / **/ - -/* HAS_FSTATVFS: - * This symbol, if defined, indicates that the fstatvfs routine is - * available to stat filesystems by file descriptors. - */ -/*#define HAS_FSTATVFS / **/ - /* HAS_STRFTIME: * This symbol, if defined, indicates that the strftime routine is * available to do time formatting. @@ -4275,12 +4216,6 @@ */ /*#define HAS_USLEEP_PROTO / **/ -/* HAS_USTAT: - * This symbol, if defined, indicates that the ustat system call is - * available to query file system statistics by dev_t. - */ -/*#define HAS_USTAT / **/ - /* HAS_WCSCMP: * This symbol, if defined, indicates that the wcscmp routine is * available to compare two wide character strings. @@ -4417,12 +4352,6 @@ */ /*#define I_MALLOCMALLOC / **/ -/* I_MNTENT: - * This symbol, if defined, indicates that <mntent.h> exists and - * should be included. - */ -/*#define I_MNTENT / **/ - /* I_NETINET_TCP: * This symbol, if defined, indicates to the C program that it should * include <netinet/tcp.h>. @@ -4483,41 +4412,12 @@ */ /*#define I_SYSMODE / **/ -/* I_SYS_MOUNT: - * This symbol, if defined, indicates that <sys/mount.h> exists and - * should be included. - */ -/*#define I_SYS_MOUNT / **/ - -/* I_SYS_STATFS: - * This symbol, if defined, indicates that <sys/statfs.h> exists. - */ -/*#define I_SYS_STATFS / **/ - -/* I_SYS_STATVFS: - * This symbol, if defined, indicates that <sys/statvfs.h> exists and - * should be included. - */ -/*#define I_SYS_STATVFS / **/ - /* I_SYSUTSNAME: * This symbol, if defined, indicates that <sys/utsname.h> exists and * should be included. */ /*#define I_SYSUTSNAME / **/ -/* I_SYS_VFS: - * This symbol, if defined, indicates that <sys/vfs.h> exists and - * should be included. - */ -/*#define I_SYS_VFS / **/ - -/* I_USTAT: - * This symbol, if defined, indicates that <ustat.h> exists and - * should be included. - */ -/*#define I_USTAT / **/ - /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to * format long doubles (format 'f') for output. |