summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-07-22 22:56:34 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-07-22 22:56:34 +0000
commite57b0bd6cce7d468a30356c0a2cdab8a0af58eca (patch)
treee6e388f2723b9501dce57987f9c2966e1a2c4108 /lib
parent5c7070eaa3051ed57fd67919ba59ca1892e21ccc (diff)
downloadgnulib-e57b0bd6cce7d468a30356c0a2cdab8a0af58eca.tar.gz
Correct SunOS and Solaris version number notation to match Sun's usage.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog18
-rw-r--r--lib/lstat.c6
-rw-r--r--lib/save-cwd.c2
-rw-r--r--lib/stat.c10
-rw-r--r--lib/utime.c4
-rw-r--r--lib/xgethostname.c4
6 files changed, 24 insertions, 20 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 758b7af155..54eb58b77c 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -82,7 +82,7 @@
* save-cwd.h (restore_cwd): Update prototype.
* save-cwd.c (restore_cwd): Remove two parameters.
Simplify. Don't call error upon failure. Let callers do that.
- (save_cwd): Mention that Irix 5.3 has the same problem as SunOS4
+ (save_cwd): Mention that Irix 5.3 has the same problem as SunOS 4
when auditing is enabled. But don't bother updating the #if.
2003-07-14 Simon Josefsson <jas@extundo.com>
@@ -808,7 +808,7 @@
2001-12-20 Bruno Haible <bruno@clisp.org>
* setenv.c (__add_to_environ): Don't call realloc(NULL,...),
- use malloc instead. For SunOS4.
+ use malloc instead. For SunOS 4.
2001-12-11 Bruno Haible <bruno@clisp.org>
@@ -1210,7 +1210,7 @@
2002-06-22 Jim Meyering <meyering@lucent.com>
* fnmatch.c (ISASCII, ISPRINT): Undefine, to avoid warning about
- redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.
+ redefinition due to Solaris 2.6's definition in /usr/include/sys/euc.h.
2002-06-22 Paul Eggert <eggert@twinsun.com>
@@ -1551,7 +1551,7 @@
2001-11-18 Jim Meyering <meyering@lucent.com>
* tempname.c [!HAVE_DECL_GETENV]: Declare getenv to avoid warning
- on SunOS4.
+ on SunOS 4.
* Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those
files will be created before anything else.
@@ -1782,7 +1782,7 @@
* Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.
* regex.c (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it
- doesn't conflict with sparc-sun-solaris2.7's definition in
+ doesn't conflict with sparc Solaris 7's definition in
/usr/include/sys/int_types.h.
* exclude.c: Use `""', not `<>' to #include non-system header files.
@@ -2251,7 +2251,7 @@
2001-01-16 Jim Meyering <meyering@lucent.com>
- * basename.c: Include <stdio.h>, needed by assert on SunOS4.
+ * basename.c: Include <stdio.h>, needed by assert on SunOS 4.
From Bruno Haible.
2001-01-14 Jim Meyering <meyering@lucent.com>
@@ -2803,7 +2803,7 @@
2000-07-05 Bruno Haible <haible@clisp.cons.org>
- * xgethostname.c (xgethostname): Protect against the SunOS5.5 bug
+ * xgethostname.c (xgethostname): Protect against the SunOS 5.5 bug
by allocating a larger buffer. Test the gethostname return value for
being >= 0, not == 0, for BeOS. Don't exhaust memory if gethostname
returns an error and ENAMETOOLONG isn't defined.
@@ -2998,7 +2998,7 @@
2000-06-04 Jim Meyering <meyering@lucent.com>
* getugroups.c (getugroups): Cast -1 to gid_t, for systems like
- SunOS4.1.4 for which gid_t is an unsigned type.
+ SunOS 4.1.4 for which gid_t is an unsigned type.
2000-06-03 Jim Meyering <meyering@lucent.com>
@@ -3371,7 +3371,7 @@
Reported by Christian Krackowizer.
* quotearg.c (ISASCII): Add #undef and move definition to follow
- inclusion of wctype.h to work around solaris2.6 namespace pollution.
+ inclusion of wctype.h to work around Solaris 2.6 namespace pollution.
(ISPRINT): Likewise.
Reported by Tom Tromey.
diff --git a/lib/lstat.c b/lib/lstat.c
index 1507ad8c91..d0ad496f35 100644
--- a/lib/lstat.c
+++ b/lib/lstat.c
@@ -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
diff --git a/lib/save-cwd.c b/lib/save-cwd.c
index 068ff0ac0c..b7b85a1b55 100644
--- a/lib/save-cwd.c
+++ b/lib/save-cwd.c
@@ -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. */
diff --git a/lib/stat.c b/lib/stat.c
index ff9e9bbe5b..284da0cbc8 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -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
diff --git a/lib/utime.c b/lib/utime.c
index f5507cbcd8..f7107abdd3 100644
--- a/lib/utime.c
+++ b/lib/utime.c
@@ -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
*/
diff --git a/lib/xgethostname.c b/lib/xgethostname.c
index 4db3bbd16a..1227cc994a 100644
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -1,5 +1,5 @@
/* xgethostname.c -- return current hostname with unlimited length
- Copyright (C) 1992, 1996, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1996, 2000, 2001, 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
@@ -53,7 +53,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)