* 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, 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.
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
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;
__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
#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
# if defined MNT_MNTTAB /* HP-UX. */
# define MOUNTED MNT_MNTTAB
# endif
-# if defined MNTTABNAME /* Dynix. */
-# define MOUNTED MNTTABNAME
-# endif
# endif
#endif
#endif
#ifdef MOUNTED_GETMNTENT1 /* glibc, HP-UX, IRIX, Cygwin, Android,
- also (obsolete) 4.3BSD, SunOS, Dynix */
+ also (obsolete) 4.3BSD, SunOS */
{
FILE *fp;
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
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
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])
])
# 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(
# 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;
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