Mercurial > hg > octave-kai > gnulib-hg
changeset 12146:e076a06bae48
maint: prefer 'file system' over 'filesystem'
* doc/posix-functions/fstatat.texi (fstatat): Likewise.
* doc/posix-functions/lstat.texi (lstat): Likewise.
* lib/file-has-acl.c (file_has_acl): Likewise.
* lib/fwriteerror.c [TEST]: Likewise.
* tests/test-areadlink.h (test_areadlink): Likewise.
* tests/test-areadlinkat-with-size.c (main): Likewise.
* tests/test-areadlinkat.c (main): Likewise.
* tests/test-canonicalize-lgpl.c (main): Likewise.
* tests/test-canonicalize.c (main): Likewise.
* tests/test-fstatat.c (main): Likewise.
* tests/test-linkat.c (main): Likewise.
* tests/test-lstat.h (test_lstat_func): Likewise.
* tests/test-mkdir.h (test_mkdir): Likewise.
* tests/test-readlink.h (test_readlink): Likewise.
* tests/test-remove.c (main): Likewise.
* tests/test-rename.h (test_rename): Likewise.
* tests/test-renameat.c (main): Likewise.
* tests/test-rmdir.h (test_rmdir_func): Likewise.
* tests/test-symlink.h (test_symlink): Likewise.
* tests/test-symlinkat.c (main): Likewise.
* tests/test-unlink.h (test_unlink_func): Likewise.
* tests/test-unlinkat.c (main): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Fri, 09 Oct 2009 19:17:17 -0600 |
parents | 9a08319141ac |
children | a620bedbe958 |
files | ChangeLog doc/posix-functions/fstatat.texi doc/posix-functions/lstat.texi lib/file-has-acl.c lib/fwriteerror.c tests/test-areadlink.h tests/test-areadlinkat-with-size.c tests/test-areadlinkat.c tests/test-canonicalize-lgpl.c tests/test-canonicalize.c tests/test-fstatat.c tests/test-linkat.c tests/test-lstat.h tests/test-mkdir.h tests/test-readlink.h tests/test-remove.c tests/test-rename.h tests/test-renameat.c tests/test-rmdir.h tests/test-symlink.h tests/test-symlinkat.c tests/test-unlink.h tests/test-unlinkat.c |
diffstat | 23 files changed, 47 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,29 @@ 2009-10-09 Eric Blake <ebb9@byu.net> + maint: prefer 'file system' over 'filesystem' + * doc/posix-functions/fstatat.texi (fstatat): Likewise. + * doc/posix-functions/lstat.texi (lstat): Likewise. + * lib/file-has-acl.c (file_has_acl): Likewise. + * lib/fwriteerror.c [TEST]: Likewise. + * tests/test-areadlink.h (test_areadlink): Likewise. + * tests/test-areadlinkat-with-size.c (main): Likewise. + * tests/test-areadlinkat.c (main): Likewise. + * tests/test-canonicalize-lgpl.c (main): Likewise. + * tests/test-canonicalize.c (main): Likewise. + * tests/test-fstatat.c (main): Likewise. + * tests/test-linkat.c (main): Likewise. + * tests/test-lstat.h (test_lstat_func): Likewise. + * tests/test-mkdir.h (test_mkdir): Likewise. + * tests/test-readlink.h (test_readlink): Likewise. + * tests/test-remove.c (main): Likewise. + * tests/test-rename.h (test_rename): Likewise. + * tests/test-renameat.c (main): Likewise. + * tests/test-rmdir.h (test_rmdir_func): Likewise. + * tests/test-symlink.h (test_symlink): Likewise. + * tests/test-symlinkat.c (main): Likewise. + * tests/test-unlink.h (test_unlink_func): Likewise. + * tests/test-unlinkat.c (main): Likewise. + maint: make realtime library usage explicit * modules/gethrxtime (Link): Mention LIB_GETHRXTIME. * modules/gettime (Link): Mention LIB_CLOCK_GETTIME.
--- a/doc/posix-functions/fstatat.texi +++ b/doc/posix-functions/fstatat.texi @@ -32,7 +32,7 @@ @item On Windows platforms (excluding Cygwin), @code{st_ino} is always 0. @item -On some filesystems, @code{st_size} contains bogus information for +On some file systems, @code{st_size} contains bogus information for symlinks; use the gnulib module areadlink-with-size for a better way to get symlink contents. @end itemize
--- a/doc/posix-functions/lstat.texi +++ b/doc/posix-functions/lstat.texi @@ -36,7 +36,7 @@ portable, and should instead be written @code{islnk ? lstat (name, buf) : stat (name, buf)}. @item -On some filesystems, @code{st_size} contains bogus information for +On some file systems, @code{st_size} contains bogus information for symlinks; use the gnulib module areadlink-with-size for a better way to get symlink contents. @end itemize
--- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -354,7 +354,7 @@ /* On Linux, FreeBSD, IRIX, acl_get_file (name, ACL_TYPE_ACCESS) and acl_get_file (name, ACL_TYPE_DEFAULT) on a directory either both succeed or both fail; it depends on the - filesystem. Therefore there is no point in making the second + file system. Therefore there is no point in making the second call if the first one already failed. */ if (ret == 0 && S_ISDIR (sb->st_mode)) {
--- a/lib/fwriteerror.c +++ b/lib/fwriteerror.c @@ -1,5 +1,5 @@ /* Detect write error on a stream. - Copyright (C) 2003-2006, 2008 Free Software Foundation, Inc. + Copyright (C) 2003-2006, 2008, 2009 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2003. This program is free software: you can redistribute it and/or modify @@ -125,7 +125,7 @@ #if TEST /* Name of a file on which writing fails. On systems without /dev/full, - you can choose a filename on a full filesystem. */ + you can choose a filename on a full file system. */ #define UNWRITABLE_FILE "/dev/full" int
--- a/tests/test-areadlink.h +++ b/tests/test-areadlink.h @@ -56,7 +56,7 @@ if (symlink (BASE "dir", BASE "link")) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-areadlinkat-with-size.c +++ b/tests/test-areadlinkat-with-size.c @@ -70,7 +70,7 @@ /* Relative tests. */ if (result == 77) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); else {
--- a/tests/test-areadlinkat.c +++ b/tests/test-areadlinkat.c @@ -70,7 +70,7 @@ /* Relative tests. */ if (result == 77) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); else {
--- a/tests/test-canonicalize-lgpl.c +++ b/tests/test-canonicalize-lgpl.c @@ -103,7 +103,7 @@ { ASSERT (remove (BASE "/tra") == 0); ASSERT (rmdir (BASE) == 0); - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-canonicalize.c +++ b/tests/test-canonicalize.c @@ -121,7 +121,7 @@ { ASSERT (remove (BASE "/tra") == 0); ASSERT (rmdir (BASE) == 0); - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-fstatat.c +++ b/tests/test-fstatat.c @@ -79,7 +79,7 @@ /* FIXME - add additional tests of dfd not at current directory. */ if (result == 77) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return result; }
--- a/tests/test-linkat.c +++ b/tests/test-linkat.c @@ -166,7 +166,7 @@ ASSERT (rmdir (BASE "sub1") == 0); ASSERT (rmdir (BASE "sub2") == 0); free (cwd); - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return result; }
--- a/tests/test-lstat.h +++ b/tests/test-lstat.h @@ -74,7 +74,7 @@ { ASSERT (unlink (BASE "file") == 0); if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-mkdir.h +++ b/tests/test-mkdir.h @@ -67,7 +67,7 @@ if (symlink (BASE "dir", BASE "link")) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-readlink.h +++ b/tests/test-readlink.h @@ -58,7 +58,7 @@ if (symlink (BASE "dir", BASE "link")) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-remove.c +++ b/tests/test-remove.c @@ -92,7 +92,7 @@ symlink. */ if (symlink (BASE "dir", BASE "link") != 0) { - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-rename.h +++ b/tests/test-rename.h @@ -245,7 +245,7 @@ if (symlink (BASE "file", BASE "link1")) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); ASSERT (unlink (BASE "file") == 0); ASSERT (rmdir (BASE "dir") == 0);
--- a/tests/test-renameat.c +++ b/tests/test-renameat.c @@ -179,7 +179,7 @@ free (cwd); if (result) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return result; }
--- a/tests/test-rmdir.h +++ b/tests/test-rmdir.h @@ -80,7 +80,7 @@ if (symlink (BASE "dir", BASE "link") != 0) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-symlink.h +++ b/tests/test-symlink.h @@ -28,7 +28,7 @@ if (func ("nowhere", BASE "link1")) { if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-symlinkat.c +++ b/tests/test-symlinkat.c @@ -117,7 +117,7 @@ ASSERT (close (dfd) == 0); if (result == 77) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return result; }
--- a/tests/test-unlink.h +++ b/tests/test-unlink.h @@ -68,7 +68,7 @@ ASSERT (func (BASE "dir/file") == 0); ASSERT (rmdir (BASE "dir") == 0); if (print) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return 77; }
--- a/tests/test-unlinkat.c +++ b/tests/test-unlinkat.c @@ -79,7 +79,7 @@ ASSERT (result1 == result2); ASSERT (close (dfd) == 0); if (result1 == 77) - fputs ("skipping test: symlinks not supported on this filesystem\n", + fputs ("skipping test: symlinks not supported on this file system\n", stderr); return result1; }