]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,
authorJim Meyering <jim@meyering.net>
Wed, 23 Jul 2003 06:24:12 +0000 (06:24 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 23 Jul 2003 06:24:12 +0000 (06:24 +0000)
Solaris5.9 -> Solaris 9.  From Paul Eggert.

lib/lstat.c
lib/save-cwd.c
lib/stat.c
lib/utime.c
lib/xgethostname.c

index 1507ad8c918964ab4116ba6d74eeba18ff837f9d..d0ad496f35e6bed63ad69d61b7e0f348c61a6e80 100644 (file)
@@ -1,7 +1,9 @@
 /* Work around the bug in some systems whereby lstat succeeds when
-   given the zero-length file name argument.  The lstat from SunOS4.1.4
+   given the zero-length file name argument.  The lstat from SunOS 4.1.4
    has this bug.
-   Copyright (C) 1997-2002 Free Software Foundation, Inc.
+
+   Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free
+   Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 068ff0ac0cd08740a499888aaf61747d3f45de43..b7b85a1b55d85e72c234ecb605ce0464251a675d 100644 (file)
@@ -62,7 +62,7 @@ extern int errno;
    support for fchdir, and getcwd is not robust or as efficient.
    So, we prefer to use the open/fchdir approach, but fall back on
    getcwd if necessary.  Some systems lack fchdir altogether: OS/2,
-   Cygwin (as of March 2003), SCO Xenix.  At least SunOS4 and Irix 5.3
+   Cygwin (as of March 2003), SCO Xenix.  At least SunOS 4 and Irix 5.3
    provide the function, yet it doesn't work for partitions on which
    auditing is enabled.  */
 
index ff9e9bbe5b4b1721ca367ab57cdac09fab47093c..284da0cbc8a1cfe60dc3df5d09970e9757c9db12 100644 (file)
@@ -1,8 +1,10 @@
 /* Work around the bug in some systems whereby stat/lstat succeeds when
-   given the zero-length file name argument.  The stat/lstat from SunOS4.1.4
+   given the zero-length file name argument.  The stat/lstat from SunOS 4.1.4
    has this bug.  Also work around a deficiency in Solaris systems (up to at
-   least Solaris5.9) regarding the semantics of `lstat ("symlink/", sbuf).'
-   Copyright (C) 1997-2003 Free Software Foundation, Inc.
+   least Solaris 9) regarding the semantics of `lstat ("symlink/", sbuf).'
+
+   Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free
+   Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -102,7 +104,7 @@ slash_aware_lstat (const char *file, struct stat *sbuf)
    Otherwise, return the result of calling the real stat/lstat.
 
    This works around the bug in some systems whereby stat/lstat succeeds when
-   given the zero-length file name argument.  The stat/lstat from SunOS4.1.4
+   given the zero-length file name argument.  The stat/lstat from SunOS 4.1.4
    has this bug.  */
 
 /* This function also provides a version of lstat with consistent semantics
index f5507cbcd84ccb6250b76ff0bacb5dfec2a5da97..f7107abdd3653f88ae829a9362032dfd00156fbc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2001-2002 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the
@@ -61,7 +61,7 @@ utime_null (const char *file)
       || safe_read (fd, &c, sizeof c) == SAFE_READ_ERROR
       || lseek (fd, (off_t) 0, SEEK_SET) < 0
       || full_write (fd, &c, sizeof c) != sizeof c
-      /* Maybe do this -- it's necessary on SunOS4.1.3 with some combination
+      /* Maybe do this -- it's necessary on SunOS 4.1.3 with some combination
         of patches, but that system doesn't use this code: it has utimes.
         || fsync (fd) < 0
       */
index 861c52f050131653a66436c286b4ec46977a31ce..ec00373fb486e298282d08869cfa4db9412ba724 100644 (file)
@@ -57,7 +57,7 @@ xgethostname ()
 
   size = INITIAL_HOSTNAME_LENGTH;
   /* Use size + 1 here rather than size to work around the bug
-     in SunOS5.5's gethostname whereby it NUL-terminates HOSTNAME
+     in SunOS 5.5's gethostname whereby it NUL-terminates HOSTNAME
      even when the name is longer than the supplied buffer.  */
   hostname = xmalloc (size + 1);
   while (1)