diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/minus-zero.h | 6 | ||||
-rw-r--r-- | tests/test-alloca-opt.c | 2 | ||||
-rwxr-xr-x | tests/test-copy-acl.sh | 2 | ||||
-rwxr-xr-x | tests/test-copy-file.sh | 2 | ||||
-rw-r--r-- | tests/test-fdatasync.c | 2 | ||||
-rwxr-xr-x | tests/test-file-has-acl.sh | 2 | ||||
-rw-r--r-- | tests/test-flock.c | 2 | ||||
-rw-r--r-- | tests/test-fsync.c | 2 | ||||
-rw-r--r-- | tests/test-localename.c | 2 | ||||
-rw-r--r-- | tests/test-malloca.c | 2 | ||||
-rw-r--r-- | tests/test-nonblocking-pipe.h | 2 | ||||
-rw-r--r-- | tests/test-nonblocking-socket.h | 4 | ||||
-rw-r--r-- | tests/test-openpty.c | 4 | ||||
-rw-r--r-- | tests/test-posix_openpt.c | 2 | ||||
-rw-r--r-- | tests/test-ptsname.c | 2 | ||||
-rw-r--r-- | tests/test-ptsname_r.c | 2 | ||||
-rw-r--r-- | tests/test-sameacls.c | 4 | ||||
-rw-r--r-- | tests/test-select.h | 2 | ||||
-rwxr-xr-x | tests/test-set-mode-acl.sh | 2 | ||||
-rw-r--r-- | tests/test-snprintf-posix.h | 4 | ||||
-rw-r--r-- | tests/test-sprintf-posix.h | 4 | ||||
-rw-r--r-- | tests/test-strtod.c | 34 | ||||
-rw-r--r-- | tests/test-time.c | 2 | ||||
-rw-r--r-- | tests/test-vasnprintf-posix.c | 4 | ||||
-rw-r--r-- | tests/test-vasprintf-posix.c | 4 |
25 files changed, 50 insertions, 50 deletions
diff --git a/tests/minus-zero.h b/tests/minus-zero.h index 491cef3872..b3c8dd29f5 100644 --- a/tests/minus-zero.h +++ b/tests/minus-zero.h @@ -24,7 +24,7 @@ /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f. ICC 10.0 has a bug when optimizing the expression -zero. The expression -FLT_MIN * FLT_MIN does not work when cross-compiling - to PowerPC on MacOS X 10.5. */ + to PowerPC on Mac OS X 10.5. */ #if defined __hpux || defined __sgi || defined __ICC static float compute_minus_zerof (void) @@ -42,7 +42,7 @@ float minus_zerof = -0.0f; /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling - to PowerPC on MacOS X 10.5. */ + to PowerPC on Mac OS X 10.5. */ #if defined __hpux || defined __sgi || defined __ICC static double compute_minus_zerod (void) @@ -61,7 +61,7 @@ double minus_zerod = -0.0; IRIX cc can't put -0.0L into .data, but can compute at runtime. ICC 10.0 has a bug when optimizing the expression -zero. The expression -LDBL_MIN * LDBL_MIN does not work when cross-compiling - to PowerPC on MacOS X 10.5. */ + to PowerPC on Mac OS X 10.5. */ #if defined __hpux || defined __sgi || defined __ICC static long double compute_minus_zerol (void) diff --git a/tests/test-alloca-opt.c b/tests/test-alloca-opt.c index 4e814c6f2c..6b9a4d70c0 100644 --- a/tests/test-alloca-opt.c +++ b/tests/test-alloca-opt.c @@ -44,7 +44,7 @@ main () { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. - Some versions of MacOS X have a stack size limit of 512 KB. */ + Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); diff --git a/tests/test-copy-acl.sh b/tests/test-copy-acl.sh index 50112c17e2..147bf564fd 100755 --- a/tests/test-copy-acl.sh +++ b/tests/test-copy-acl.sh @@ -111,7 +111,7 @@ cd "$builddir" || acl_flavor=aix else if (fsaclctl -v >/dev/null) 2>/dev/null; then - # MacOS X. + # Mac OS X. acl_flavor=macosx else if test -f /sbin/chacl; then diff --git a/tests/test-copy-file.sh b/tests/test-copy-file.sh index 7d6d687f7c..98da280efb 100755 --- a/tests/test-copy-file.sh +++ b/tests/test-copy-file.sh @@ -105,7 +105,7 @@ cd "$builddir" || acl_flavor=aix else if (fsaclctl -v >/dev/null) 2>/dev/null; then - # MacOS X. + # Mac OS X. acl_flavor=macosx else if test -f /sbin/chacl; then diff --git a/tests/test-fdatasync.c b/tests/test-fdatasync.c index 2c348d7a1d..428ba5699b 100644 --- a/tests/test-fdatasync.c +++ b/tests/test-fdatasync.c @@ -38,7 +38,7 @@ main (void) if (fdatasync (fd) != 0) { ASSERT (errno == EINVAL /* POSIX */ - || errno == ENOTSUP /* seen on MacOS X 10.5 */ + || errno == ENOTSUP /* seen on Mac OS X 10.5 */ || errno == EBADF /* seen on AIX 7.1 */ || errno == EIO /* seen on mingw */ ); diff --git a/tests/test-file-has-acl.sh b/tests/test-file-has-acl.sh index aa608a1e07..26610c1e27 100755 --- a/tests/test-file-has-acl.sh +++ b/tests/test-file-has-acl.sh @@ -111,7 +111,7 @@ cd "$builddir" || acl_flavor=aix else if (fsaclctl -v >/dev/null) 2>/dev/null; then - # MacOS X. + # Mac OS X. acl_flavor=macosx else if test -f /sbin/chacl; then diff --git a/tests/test-flock.c b/tests/test-flock.c index bd569e3c6e..d9734aa02d 100644 --- a/tests/test-flock.c +++ b/tests/test-flock.c @@ -100,7 +100,7 @@ main (int argc, char *argv[]) #if defined __linux__ /* Invalid operation codes are rejected by the Linux implementation and by - the gnulib replacement, but not by the MacOS X implementation. */ + the gnulib replacement, but not by the Mac OS X implementation. */ ASSERT (flock (fd, LOCK_SH | LOCK_EX) == -1); ASSERT (errno == EINVAL); ASSERT (flock (fd, LOCK_SH | LOCK_UN) == -1); diff --git a/tests/test-fsync.c b/tests/test-fsync.c index 725c666b2a..3e6fb2951f 100644 --- a/tests/test-fsync.c +++ b/tests/test-fsync.c @@ -38,7 +38,7 @@ main (void) if (fsync (fd) != 0) { ASSERT (errno == EINVAL /* POSIX */ - || errno == ENOTSUP /* seen on MacOS X 10.5 */ + || errno == ENOTSUP /* seen on Mac OS X 10.5 */ || errno == EBADF /* seen on AIX 7.1 */ || errno == EIO /* seen on mingw */ ); diff --git a/tests/test-localename.c b/tests/test-localename.c index f04c3017f2..37b76a385b 100644 --- a/tests/test-localename.c +++ b/tests/test-localename.c @@ -715,7 +715,7 @@ test_locale_name_default (void) ASSERT (name != NULL); - /* Only MacOS X and Windows have a facility for the user to set the default + /* Only Mac OS X and Windows have a facility for the user to set the default locale. */ #if !((defined __APPLE__ && defined __MACH__) || (defined _WIN32 || defined __WIN32__ || defined __CYGWIN__)) ASSERT (strcmp (name, "C") == 0); diff --git a/tests/test-malloca.c b/tests/test-malloca.c index d7732c32c8..9c7109c978 100644 --- a/tests/test-malloca.c +++ b/tests/test-malloca.c @@ -45,7 +45,7 @@ main () { /* Try various values. n = 0 gave a crash on Alpha with gcc-2.5.8. - Some versions of MacOS X have a stack size limit of 512 KB. */ + Some versions of Mac OS X have a stack size limit of 512 KB. */ func (34); func (134); func (399); diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h index 37028255cd..48ed298ffd 100644 --- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -24,7 +24,7 @@ Linux/SPARC >= 126977 Linux/IA-64, Linux/MIPS >= 253953 Linux/PPC64 >= 1048576 - FreeBSD, OpenBSD, MacOS X >= 65537 + FreeBSD, OpenBSD, Mac OS X >= 65537 AIX >= 32769 HP-UX >= 8193 IRIX >= 10241 diff --git a/tests/test-nonblocking-socket.h b/tests/test-nonblocking-socket.h index e0fdf9eac6..261c56ac2f 100644 --- a/tests/test-nonblocking-socket.h +++ b/tests/test-nonblocking-socket.h @@ -23,7 +23,7 @@ Linux >= 7350000 (depends on circumstances) FreeBSD >= 107521 OpenBSD >= 28673 - MacOS X >= 680000 (depends on circumstances) + Mac OS X >= 680000 (depends on circumstances) AIX 5.1 >= 125713 AIX 7.1 >= 200000 (depends on circumstances) HP-UX >= 114689 @@ -44,7 +44,7 @@ # define SOCKET_DATA_BLOCK_SIZE 1000000 #endif -/* On Linux, MacOS X, Cygwin 1.5.x, native Windows, +/* On Linux, Mac OS X, Cygwin 1.5.x, native Windows, sockets have very large buffers in the kernel, so that write() calls succeed before the reader has started reading, even if fd is blocking and the amount of data is larger than 1 MB. */ diff --git a/tests/test-openpty.c b/tests/test-openpty.c index b754eab7cc..e5583fb1e0 100644 --- a/tests/test-openpty.c +++ b/tests/test-openpty.c @@ -48,7 +48,7 @@ main () } /* Set the terminal characteristics. - On Linux or MacOS X, they can be set on either the master or the slave; + On Linux or Mac OS X, they can be set on either the master or the slave; the effect is the same. But on Solaris, they have to be set on the master; tcgetattr on the slave fails. */ { @@ -101,7 +101,7 @@ main () } /* Close the master side before the slave side gets closed. - This is necessary on MacOS X 10.4.11. */ + This is necessary on Mac OS X 10.4.11. */ close (master); } diff --git a/tests/test-posix_openpt.c b/tests/test-posix_openpt.c index b8ef209aaf..018a2894a8 100644 --- a/tests/test-posix_openpt.c +++ b/tests/test-posix_openpt.c @@ -68,7 +68,7 @@ main (void) ASSERT (isatty (slave)); /* Close the master side before the slave side gets closed. - This is necessary on MacOS X 10.4.11. */ + This is necessary on Mac OS X 10.4.11. */ ASSERT (close (master) == 0); ASSERT (close (slave) == 0); diff --git a/tests/test-ptsname.c b/tests/test-ptsname.c index ab33e360c3..06c78ea1dd 100644 --- a/tests/test-ptsname.c +++ b/tests/test-ptsname.c @@ -109,7 +109,7 @@ main (void) #else - /* Try various master names of MacOS X: /dev/pty[p-w][0-9a-f] */ + /* Try various master names of Mac OS X: /dev/pty[p-w][0-9a-f] */ { int char1; int char2; diff --git a/tests/test-ptsname_r.c b/tests/test-ptsname_r.c index ccf14b420e..edb5e3d9d0 100644 --- a/tests/test-ptsname_r.c +++ b/tests/test-ptsname_r.c @@ -170,7 +170,7 @@ main (void) #else - /* Try various master names of MacOS X: /dev/pty[p-w][0-9a-f] */ + /* Try various master names of Mac OS X: /dev/pty[p-w][0-9a-f] */ { int char1; int char2; diff --git a/tests/test-sameacls.c b/tests/test-sameacls.c index 1cc9e26e73..1f071cc67f 100644 --- a/tests/test-sameacls.c +++ b/tests/test-sameacls.c @@ -115,11 +115,11 @@ main (int argc, char *argv[]) } } { -#if HAVE_ACL_GET_FILE /* Linux, FreeBSD, MacOS X, IRIX, Tru64 */ +#if HAVE_ACL_GET_FILE /* Linux, FreeBSD, Mac OS X, IRIX, Tru64 */ static const int types[] = { ACL_TYPE_ACCESS -# if HAVE_ACL_TYPE_EXTENDED /* MacOS X */ +# if HAVE_ACL_TYPE_EXTENDED /* Mac OS X */ , ACL_TYPE_EXTENDED # endif }; diff --git a/tests/test-select.h b/tests/test-select.h index 9fe998c1dd..1169e59290 100644 --- a/tests/test-select.h +++ b/tests/test-select.h @@ -265,7 +265,7 @@ test_bad_fd (select_fn my_select) #if !(defined __osf__ || defined WINDOWS_NATIVE) int fd; - /* On Linux, MacOS X, *BSD, values of fd like 99 or 399 are discarded + /* On Linux, Mac OS X, *BSD, values of fd like 99 or 399 are discarded by the kernel early and therefore do *not* lead to EBADF, as required by POSIX. */ # if defined __linux__ || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ diff --git a/tests/test-set-mode-acl.sh b/tests/test-set-mode-acl.sh index 28d7e110bb..f0b1641a43 100755 --- a/tests/test-set-mode-acl.sh +++ b/tests/test-set-mode-acl.sh @@ -111,7 +111,7 @@ cd "$builddir" || acl_flavor=aix else if (fsaclctl -v >/dev/null) 2>/dev/null; then - # MacOS X. + # Mac OS X. acl_flavor=macosx else if test -f /sbin/chacl; then diff --git a/tests/test-snprintf-posix.h b/tests/test-snprintf-posix.h index c46049ddc3..500b5b7995 100644 --- a/tests/test-snprintf-posix.h +++ b/tests/test-snprintf-posix.h @@ -273,7 +273,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug. */ + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug. */ char result[100]; int retval = my_snprintf (result, sizeof (result), "%.1a %d", 1.999, 33, 44, 55); @@ -624,7 +624,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug and a + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug and a glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */ char result[100]; int retval = diff --git a/tests/test-sprintf-posix.h b/tests/test-sprintf-posix.h index ed84537fef..f6759cb6cf 100644 --- a/tests/test-sprintf-posix.h +++ b/tests/test-sprintf-posix.h @@ -259,7 +259,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug. */ + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug. */ char result[1000]; int retval = my_sprintf (result, "%.1a %d", 1.999, 33, 44, 55); @@ -610,7 +610,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug and a + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug and a glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */ char result[1000]; int retval = diff --git a/tests/test-strtod.c b/tests/test-strtod.c index b8d6e5f436..67f93af527 100644 --- a/tests/test-strtod.c +++ b/tests/test-strtod.c @@ -383,7 +383,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -404,8 +404,8 @@ main (void) errno = 0; result = strtod (input, &ptr); ASSERT (result == 0.0); - ASSERT (!!signbit (result) == !!signbit (minus_zerod)); /* MacOS X 10.3, FreeBSD 6.2, IRIX 6.5, OSF/1 4.0 */ - ASSERT (ptr == input + 2); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (!!signbit (result) == !!signbit (minus_zerod)); /* Mac OS X 10.3, FreeBSD 6.2, IRIX 6.5, OSF/1 4.0 */ + ASSERT (ptr == input + 2); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -416,7 +416,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -427,7 +427,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -438,7 +438,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -449,7 +449,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -460,7 +460,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -471,7 +471,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -482,7 +482,7 @@ main (void) result = strtod (input, &ptr); ASSERT (result == 0.0); ASSERT (!signbit (result)); - ASSERT (ptr == input + 1); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, AIX 7.1 */ + ASSERT (ptr == input + 1); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, AIX 7.1 */ ASSERT (errno == 0); } { @@ -703,8 +703,8 @@ main (void) worrying about. */ ASSERT (!!signbit (result1) != !!signbit (result2)); /* glibc-2.3.6, IRIX 6.5, OSF/1 5.1, mingw */ # endif - ASSERT (ptr1 == input + 6); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ - ASSERT (ptr2 == input + 6); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (ptr1 == input + 6); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (ptr2 == input + 6); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ ASSERT (errno == 0); #else ASSERT (result1 == 0.0); @@ -724,7 +724,7 @@ main (void) result = strtod (input, &ptr); #if 1 /* All known CPUs support NaNs. */ ASSERT (isnand (result)); /* OpenBSD 4.0, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ - ASSERT (ptr == input + 6); /* glibc-2.3.6, MacOS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (ptr == input + 6); /* glibc-2.3.6, Mac OS X 10.3, FreeBSD 6.2, OpenBSD 4.0, AIX 7.1, HP-UX 11.11, IRIX 6.5, OSF/1 5.1, mingw */ ASSERT (errno == 0); #else ASSERT (result == 0.0); @@ -920,9 +920,9 @@ main (void) input[m] = '\0'; errno = 0; result = strtod (input, &ptr); - ASSERT (result == 1.0); /* MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (result == 1.0); /* Mac OS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ ASSERT (ptr == input + m); /* OSF/1 5.1 */ - ASSERT (errno == 0); /* MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (errno == 0); /* Mac OS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ } free (input); } @@ -946,9 +946,9 @@ main (void) input[m] = '\0'; errno = 0; result = strtod (input, &ptr); - ASSERT (result == 1.0); /* MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (result == 1.0); /* Mac OS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ ASSERT (ptr == input + m); - ASSERT (errno == 0); /* MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ + ASSERT (errno == 0); /* Mac OS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, IRIX 6.5, OSF/1 5.1, mingw */ } free (input); } diff --git a/tests/test-time.c b/tests/test-time.c index acf3d2df6d..11a4208481 100644 --- a/tests/test-time.c +++ b/tests/test-time.c @@ -26,7 +26,7 @@ struct timespec t1; #if 0 /* POSIX:2008 does not require pid_t in <time.h> unconditionally, and indeed - it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ + it's missing on Mac OS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ pid_t t2; #endif diff --git a/tests/test-vasnprintf-posix.c b/tests/test-vasnprintf-posix.c index 7bf02b829c..0dc1fcf2bb 100644 --- a/tests/test-vasnprintf-posix.c +++ b/tests/test-vasnprintf-posix.c @@ -326,7 +326,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug. */ + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug. */ size_t length; char *result = my_asnprintf (NULL, &length, "%.1a %d", 1.999, 33, 44, 55); @@ -741,7 +741,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug and a + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug and a glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */ size_t length; char *result = diff --git a/tests/test-vasprintf-posix.c b/tests/test-vasprintf-posix.c index d7a3b15143..985a653ea5 100644 --- a/tests/test-vasprintf-posix.c +++ b/tests/test-vasprintf-posix.c @@ -306,7 +306,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug. */ + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug. */ char *result; int retval = my_asprintf (&result, "%.1a %d", 1.999, 33, 44, 55); @@ -721,7 +721,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...)) } { /* Rounding can turn a ...FFF into a ...000. - This shows a MacOS X 10.3.9 (Darwin 7.9) bug and a + This shows a Mac OS X 10.3.9 (Darwin 7.9) bug and a glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */ char *result; int retval = |