* 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>
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.
@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
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
/* 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))
{
/* 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
#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
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;
}
/* 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
{
/* 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
{
{
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;
}
{
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;
}
/* 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;
}
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;
}
{
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;
}
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;
}
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;
}
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;
}
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);
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;
}
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;
}
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;
}
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;
}
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;
}
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;
}