]> Savannah Git Hosting - gnulib.git/commitdiff
fsusage, mountlist, getloadavg: Remove support for Dynix/ptx.
authorBruno Haible <bruno@clisp.org>
Tue, 16 Oct 2018 19:02:51 +0000 (21:02 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 17 Oct 2018 23:46:16 +0000 (01:46 +0200)
* lib/fsusage.c: Remove _SEQUENT_ case.
* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update comments.
* lib/mountlist.c: Don't test for MNTTABNAME.
* m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Don't test for libseq.
(gl_LIST_MOUNTED_FILE_SYSTEMS): Don't test for MNTTABNAME.
* lib/getloadavg.c: Remove _SEQUENT_ and sequent cases.
* lib/stat-size.h: Don't mention the Sequent bug.
* doc/posix-functions/utime.texi: Don't mention the Dynix bug.

ChangeLog
doc/posix-functions/utime.texi
lib/fsusage.c
lib/getloadavg.c
lib/mountlist.c
lib/stat-size.h
m4/fsusage.m4
m4/ls-mntd-fs.m4

index 6411e72442a8e71e6c571f78a2010a41358ebba9..10a99144547129e52fdee09d7c6f670c1778385e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2018-10-16  Bruno Haible  <bruno@clisp.org>
+
+       fsusage, mountlist, getloadavg: Remove support for Dynix/ptx.
+       * lib/fsusage.c: Remove _SEQUENT_ case.
+       * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update comments.
+       * lib/mountlist.c: Don't test for MNTTABNAME.
+       * m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Don't test for libseq.
+       (gl_LIST_MOUNTED_FILE_SYSTEMS): Don't test for MNTTABNAME.
+       * lib/getloadavg.c: Remove _SEQUENT_ and sequent cases.
+       * lib/stat-size.h: Don't mention the Sequent bug.
+       * doc/posix-functions/utime.texi: Don't mention the Dynix bug.
+
 2018-10-16  Bruno Haible  <bruno@clisp.org>
 
        fsusage: Remove support for AIX 3.
index 23c74d14a205043871b12c8f988e6cff7bcc44a4..e2956904780b4e780c68fd72a7cc568b69e37ef6 100644 (file)
@@ -21,9 +21,6 @@ mingw, MSVC 14.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-On some old platforms (Sequent), @code{utime (file, NULL)} fails to set the
-file's timestamp to the current time.
-@item
 On some platforms, this function mis-handles trailing slash:
 Solaris 9.
 @item
index 2a690220e338945a6d41f9757e991e56accd67fa..e33152aab039ec46759b1e067ac0a342779f4f4e 100644 (file)
@@ -216,11 +216,7 @@ get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp)
 
   fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_fsize);
 
-#elif defined STAT_STATFS4              /* SVR3, Dynix, old Irix */
-
-# if !defined _SEQUENT_
-#  define f_bavail f_bfree
-# endif
+#elif defined STAT_STATFS4              /* SVR3, old Irix */
 
   struct statfs fsd;
 
index 30faf6d84f83ee2bdb612dae43574ba179402d30..0532e1b51054e87244b867ceb9f5ba505fa5c93d 100644 (file)
@@ -62,8 +62,6 @@
    __MSDOS__                    No-op for MSDOS.
    NeXT
    sgi
-   sequent                      Sequent Dynix 3.x.x (BSD)
-   _SEQUENT_                    Sequent DYNIX/ptx 1.x.x (SYSV)
    sony_news                    NEWS-OS (works at least for 4.1C)
    UMAX
    UMAX4_3
 #   define LOAD_AVE_TYPE long
 #  endif
 
-#  ifdef _SEQUENT_
-#   define LOAD_AVE_TYPE long
-#  endif
-
 #  ifdef sgi
 #   define LOAD_AVE_TYPE long
 #  endif
 #   define LOAD_AVE_TYPE long
 #  endif
 
-#  ifdef sequent
-#   define LOAD_AVE_TYPE long
-#  endif
-
 #  ifdef OSF_ALPHA
 #   define LOAD_AVE_TYPE long
 #  endif
 #   define FSCALE 256
 #  endif
 
-#  if defined (sgi) || defined (sequent)
+#  if defined (sgi)
 /* Sometimes both MIPS and sgi are defined, so FSCALE was just defined
    above under #ifdef MIPS.  But we want the sgi value.  */
 #   undef FSCALE
 # endif
 
 
-# if !defined (KERNEL_FILE) && defined (sequent)
-#  define KERNEL_FILE "/dynix"
-# endif
-
 # if !defined (KERNEL_FILE) && defined (hpux)
 #  define KERNEL_FILE "/hp-ux"
 # endif
 
-# if !defined (KERNEL_FILE) && (defined (_SEQUENT_) || defined (MIPS) || defined (SVR4) || defined (ISC) || defined (sgi))
+# if !defined (KERNEL_FILE) && (defined (MIPS) || defined (SVR4) || defined (ISC) || defined (sgi))
 #  define KERNEL_FILE "/unix"
 # endif
 
 
-# if !defined (LDAV_SYMBOL) && (defined (hpux) || defined (_SEQUENT_) || defined (SVR4) || defined (ISC) || defined (sgi) || (defined (_AIX) && !defined(HAVE_LIBPERFSTAT)))
+# if !defined (LDAV_SYMBOL) && (defined (hpux) || defined (SVR4) || defined (ISC) || defined (sgi) || (defined (_AIX) && !defined(HAVE_LIBPERFSTAT)))
 #  define LDAV_SYMBOL "avenrun"
 # endif
 
index d655d9501c2e977770674c2eaf402b6b42dbb58b..01ad309f3fee3b43c11765e6defac7de64fba44e 100644 (file)
@@ -63,7 +63,7 @@
 #endif /* MOUNTED_GETFSSTAT */
 
 #ifdef MOUNTED_GETMNTENT1       /* glibc, HP-UX, IRIX, Cygwin, Android,
-                                   also (obsolete) 4.3BSD, SunOS, Dynix */
+                                   also (obsolete) 4.3BSD, SunOS */
 # include <mntent.h>
 # include <sys/types.h>
 # if !defined MOUNTED
@@ -73,9 +73,6 @@
 #  if defined MNT_MNTTAB        /* HP-UX.  */
 #   define MOUNTED MNT_MNTTAB
 #  endif
-#  if defined MNTTABNAME        /* Dynix.  */
-#   define MOUNTED MNTTABNAME
-#  endif
 # endif
 #endif
 
@@ -463,7 +460,7 @@ read_file_system_list (bool need_fs_type)
 #endif
 
 #ifdef MOUNTED_GETMNTENT1       /* glibc, HP-UX, IRIX, Cygwin, Android,
-                                   also (obsolete) 4.3BSD, SunOS, Dynix */
+                                   also (obsolete) 4.3BSD, SunOS */
   {
     FILE *fp;
 
index 7fa4451d05363aa3e1c31290329e432716c85088..68ce3cd10c676f448c306aad7ef60cd912e8dd06 100644 (file)
@@ -62,8 +62,7 @@
    st_blocks ((statbuf).st_size) : 0)
 # endif
 #else
-/* Some systems, like Sequents, return st_blksize of 0 on pipes.
-   Also, when running 'rsh hpux11-system cat any-file', cat would
+/* When running 'rsh hpux11-system cat any-file', cat would
    determine that the output stream had an st_blksize of 2147421096.
    Conversely st_blksize can be 2 GiB (or maybe even larger) with XFS
    on 64-bit hosts.  Somewhat arbitrarily, limit the "optimal" block
index 56ac4738322f35d73b1311492259fffd8ffbaf27..96378ba5f0cdaa4ed3b2684620ea74daf6d988a4 100644 (file)
@@ -224,7 +224,7 @@ int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1];
     if test $fu_cv_sys_stat_statfs4 = yes; then
       ac_fsusage_space=yes
       AC_DEFINE([STAT_STATFS4], [1],
-        [Define if statfs takes 4 args.  (SVR3, Dynix, old Irix)])
+        [Define if statfs takes 4 args.  (SVR3, old Irix)])
     fi
   fi
 
index 22abe4da37429189857aceb7543db52e621525ba..64a2dfcf789a7806b4db869e37a877ac72ce9c45 100644 (file)
@@ -19,8 +19,8 @@ dnl
 AC_DEFUN([AC_FUNC_GETMNTENT],
 [
   # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
-  # -lseq on Dynix/PTX, -lgen on Unixware.
-  AC_SEARCH_LIBS([getmntent], [sun seq gen])
+  # -lgen on Unixware.
+  AC_SEARCH_LIBS([getmntent], [sun gen])
   AC_CHECK_FUNCS([getmntent])
 ])
 
@@ -120,7 +120,7 @@ yes
     # Determine whether it's the one-argument variant or the two-argument one.
 
     if test -z "$ac_list_mounted_fs"; then
-      # glibc, HP-UX, IRIX, Cygwin, Android, also (obsolete) 4.3BSD, SunOS, Dynix.
+      # glibc, HP-UX, IRIX, Cygwin, Android, also (obsolete) 4.3BSD, SunOS.
       AC_CACHE_CHECK([for one-argument getmntent function],
         [fu_cv_sys_mounted_getmntent1],
         [AC_COMPILE_IFELSE(
@@ -136,9 +136,6 @@ yes
 # if defined MNT_MNTTAB /* HP-UX.  */
 #  define MOUNTED MNT_MNTTAB
 # endif
-# if defined MNTTABNAME /* Dynix.  */
-#  define MOUNTED MNTTABNAME
-# endif
 #endif
 ]],
               [[struct mntent *mnt = 0; char *table = MOUNTED;
@@ -152,7 +149,7 @@ yes
         AC_DEFINE([MOUNTED_GETMNTENT1], [1],
           [Define if there is a function named getmntent for reading the list
            of mounted file systems, and that function takes a single argument.
-           (4.3BSD, SunOS, HP-UX, Dynix, Irix)])
+           (4.3BSD, SunOS, HP-UX, Irix)])
         AC_CHECK_FUNCS([hasmntopt])
       fi
     fi