1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2025-08-07 07:22:55 +03:00

Add/fix copyright notices and adjust to latest GNU FDL.

This commit is contained in:
Paul Eggert
2006-08-17 19:58:17 +00:00
parent 23f176cae6
commit 218fa5c61b
363 changed files with 6708 additions and 233 deletions

View File

@@ -1,3 +1,22 @@
# Suppress valgrind diagnostics we don't care about.
# Copyright (C) 2003, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
{ {
libc_dl_open libc_dl_open
Memcheck:Cond Memcheck:Cond

25
COPYING
View File

@@ -1,8 +1,8 @@
GNU GENERAL PUBLIC LICENSE GNU GENERAL PUBLIC LICENSE
Version 2, June 1991 Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to the GNU Lesser General Public License instead.) You can apply it to
your programs, too. your programs, too.
When we speak of free software, we are referring to freedom, not When we speak of free software, we are referring to freedom, not
@@ -55,7 +55,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and The precise terms and conditions for copying, distribution and
modification follow. modification follow.
GNU GENERAL PUBLIC LICENSE GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on does not normally print such an announcement, your work based on
the Program is not required to print an announcement.) the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program, identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not distribution of the source code, even though third parties are not
compelled to copy the source along with the object code. compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program 4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License. be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in 8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License original copyright holder who places the Program under this License
@@ -278,7 +278,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest If you develop a new program, and you want it to be of the greatest
@@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License along
along with this program; if not, write to the Free Software with this program; if not, write to the Free Software Foundation, Inc.,
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail. Also add information on how to contact you by electronic and paper mail.
@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. Public License instead of this License.

347
ChangeLog
View File

@@ -1,3 +1,341 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
Copyright notice fixes.
* COPYING: Upgrade to latest version from FSF.
* src/uname.c: Use (C) in copyright notice.
* .vg-suppressions: Add copyright notice.
* ChangeLog: Likewise.
* ChangeLog-2005: Likewise.
* Makefile.am: Likewise.
* NEWS: Likewise.
* README: Likewise.
* README-valgrind: Likewise.
* TODO: Likewise.
* announce-gen: Likewise.
* man/Makefile.am: Likewise.
* man/chmod.x: Likewise.
* man/chown.x: Likewise.
* man/df.x: Likewise.
* man/du.x: Likewise.
* man/rm.x: Likewise.
* src/dircolors.hin: Likewise.
* src/du-tests: Likewise.
* src/extract-magic: Likewise.
* src/tac-pipe.c: Likewise.
* src/wheel-gen.pl: Likewise.
* tests/Coreutils.pm: Likewise.
* tests/Makefile.am.in: Likewise.
* tests/acl: Likewise.
* tests/envvar-check: Likewise.
* tests/expensive: Likewise.
* tests/group-names: Likewise.
* tests/help-version: Likewise.
* tests/mk-script: Likewise.
* tests/priv-check: Likewise.
* tests/rwx-to-mode: Likewise.
* tests/sample-test: Likewise.
* tests/setgid-check: Likewise.
* tests/chgrp/basic: Likewise.
* tests/chgrp/deref: Likewise.
* tests/chgrp/no-x: Likewise.
* tests/chgrp/posix-H: Likewise.
* tests/chgrp/recurse: Likewise.
* tests/chmod/c-option: Likewise.
* tests/chmod/equal-x: Likewise.
* tests/chmod/equals: Likewise.
* tests/chmod/no-x: Likewise.
* tests/chmod/octal: Likewise.
* tests/chmod/setgid: Likewise.
* tests/chmod/umask-x: Likewise.
* tests/chmod/usage: Likewise.
* tests/chown/basic: Likewise.
* tests/chown/deref: Likewise.
* tests/chown/separator: Likewise.
* tests/cp/Makefile.am: Likewise.
* tests/cp/acl: Likewise.
* tests/cp/backup-1: Likewise.
* tests/cp/backup-is-src: Likewise.
* tests/cp/cp-HL: Likewise.
* tests/cp/cp-deref: Likewise.
* tests/cp/cp-mv-backup: Likewise.
* tests/cp/cp-parents: Likewise.
* tests/cp/deref-slink: Likewise.
* tests/cp/dir-rm-dest: Likewise.
* tests/cp/dir-slash: Likewise.
* tests/cp/dir-vs-file: Likewise.
* tests/cp/fail-perm: Likewise.
* tests/cp/into-self: Likewise.
* tests/cp/link: Likewise.
* tests/cp/link-no-deref: Likewise.
* tests/cp/link-preserve: Likewise.
* tests/cp/no-deref-link1: Likewise.
* tests/cp/no-deref-link2: Likewise.
* tests/cp/no-deref-link3: Likewise.
* tests/cp/perm: Likewise.
* tests/cp/preserve-2: Likewise.
* tests/cp/r-vs-symlink: Likewise.
* tests/cp/same-file: Likewise.
* tests/cp/slink-2-slink: Likewise.
* tests/cp/special-bits: Likewise.
* tests/cp/symlink-slash: Likewise.
* tests/cut/Makefile.am: Likewise.
* tests/cut/Test.pm: Likewise.
* tests/dd/misc: Likewise.
* tests/dd/not-rewound: Likewise.
* tests/dd/skip-seek: Likewise.
* tests/dd/skip-seek2: Likewise.
* tests/dd/unblock-sync: Likewise.
* tests/dircolors/simple: Likewise.
* tests/du/2g: Likewise.
* tests/du/8gb: Likewise.
* tests/du/Makefile.am: Likewise.
* tests/du/basic: Likewise.
* tests/du/deref: Likewise.
* tests/du/deref-args: Likewise.
* tests/du/exclude: Likewise.
* tests/du/fd-leak: Likewise.
* tests/du/files0-from: Likewise.
* tests/du/hard-link: Likewise.
* tests/du/inaccessible-cwd: Likewise.
* tests/du/long-from-unreadable: Likewise.
* tests/du/long-sloop: Likewise.
* tests/du/no-deref: Likewise.
* tests/du/no-x: Likewise.
* tests/du/restore-wd: Likewise.
* tests/du/slash: Likewise.
* tests/du/slink: Likewise.
* tests/du/trailing-slash: Likewise.
* tests/du/two-args: Likewise.
* tests/expr/basic: Likewise.
* tests/factor/basic: Likewise.
* tests/fmt/basic: Likewise.
* tests/fmt/long-line: Likewise.
* tests/general/Makefile.am: Likewise.
* tests/general/atgeneral.m4: Likewise.
* tests/general/dd.at: Likewise.
* tests/head/Makefile.am: Likewise.
* tests/head/Test.pm: Likewise.
* tests/install/basic-1: Likewise.
* tests/install/create-leading: Likewise.
* tests/install/d-slashdot: Likewise.
* tests/install/trap: Likewise.
* tests/join/Makefile.am: Likewise.
* tests/join/Test.pm: Likewise.
* tests/ln/backup-1: Likewise.
* tests/ln/misc: Likewise.
* tests/ln/sf-1: Likewise.
* tests/ln/target-1: Likewise.
* tests/ls/Makefile.am: Likewise.
* tests/ls/Test.pm: Likewise.
* tests/ls/dangle: Likewise.
* tests/ls/dired: Likewise.
* tests/ls/file-type: Likewise.
* tests/ls/follow-slink: Likewise.
* tests/ls/infloop: Likewise.
* tests/ls/inode: Likewise.
* tests/ls/m-option: Likewise.
* tests/ls/no-arg: Likewise.
* tests/ls/recursive: Likewise.
* tests/ls/rt-1: Likewise.
* tests/ls/stat-dtype: Likewise.
* tests/ls/stat-failed: Likewise.
* tests/ls/stat-vs-dirent: Likewise.
* tests/ls/symlink-slash: Likewise.
* tests/ls/time-1: Likewise.
* tests/ls-2/tests: Likewise.
* tests/md5sum/basic-1: Likewise.
* tests/md5sum/newline-1: Likewise.
* tests/misc/Makefile.am: Likewise.
* tests/misc/base64: Likewise.
* tests/misc/basename: Likewise.
* tests/misc/cat-proc: Likewise.
* tests/misc/close-stdout: Likewise.
* tests/misc/csplit: Likewise.
* tests/misc/date: Likewise.
* tests/misc/date-sec: Likewise.
* tests/misc/df: Likewise.
* tests/misc/dirname: Likewise.
* tests/misc/expand: Likewise.
* tests/misc/false-status: Likewise.
* tests/misc/fold: Likewise.
* tests/misc/head-c: Likewise.
* tests/misc/head-elide-tail: Likewise.
* tests/misc/head-pos: Likewise.
* tests/misc/mknod: Likewise.
* tests/misc/nice: Likewise.
* tests/misc/nl: Likewise.
* tests/misc/nohup: Likewise.
* tests/misc/paste-no-nl: Likewise.
* tests/misc/pathchk1: Likewise.
* tests/misc/printf: Likewise.
* tests/misc/printf-hex: Likewise.
* tests/misc/pwd-long: Likewise.
* tests/misc/sha224sum: Likewise.
* tests/misc/sha256sum: Likewise.
* tests/misc/sha384sum: Likewise.
* tests/misc/sha512sum: Likewise.
* tests/misc/shuf: Likewise.
* tests/misc/sort-merge: Likewise.
* tests/misc/sort-rand: Likewise.
* tests/misc/split-a: Likewise.
* tests/misc/split-fail: Likewise.
* tests/misc/split-l: Likewise.
* tests/misc/stat-fmt: Likewise.
* tests/misc/stat-printf: Likewise.
* tests/misc/tac-continue: Likewise.
* tests/misc/test-diag: Likewise.
* tests/misc/tty-eof: Likewise.
* tests/misc/wc-files0: Likewise.
* tests/misc/wc-files0-from: Likewise.
* tests/mkdir/concurrent-1: Likewise.
* tests/mkdir/p-1: Likewise.
* tests/mkdir/p-2: Likewise.
* tests/mkdir/p-3: Likewise.
* tests/mkdir/p-slashdot: Likewise.
* tests/mkdir/p-thru-slink: Likewise.
* tests/mkdir/parents: Likewise.
* tests/mkdir/perm: Likewise.
* tests/mkdir/special-1: Likewise.
* tests/mkdir/t-slash: Likewise.
* tests/mkdir/writable-under-readonly: Likewise.
* tests/mv/Makefile.am: Likewise.
* tests/mv/acl: Likewise.
* tests/mv/atomic: Likewise.
* tests/mv/backup-is-src: Likewise.
* tests/mv/childproof: Likewise.
* tests/mv/diag: Likewise.
* tests/mv/dir-file: Likewise.
* tests/mv/dir2dir: Likewise.
* tests/mv/dup-source: Likewise.
* tests/mv/force: Likewise.
* tests/mv/hard-2: Likewise.
* tests/mv/hard-3: Likewise.
* tests/mv/hard-4: Likewise.
* tests/mv/hard-link-1: Likewise.
* tests/mv/i-1: Likewise.
* tests/mv/i-2: Likewise.
* tests/mv/i-3: Likewise.
* tests/mv/i-4: Likewise.
* tests/mv/i-link-no: Likewise.
* tests/mv/into-self: Likewise.
* tests/mv/into-self-2: Likewise.
* tests/mv/into-self-3: Likewise.
* tests/mv/into-self-4: Likewise.
* tests/mv/leak-fd: Likewise.
* tests/mv/mv-special-1: Likewise.
* tests/mv/no-target-dir: Likewise.
* tests/mv/part-fail: Likewise.
* tests/mv/part-hardlink: Likewise.
* tests/mv/part-rename: Likewise.
* tests/mv/part-symlink: Likewise.
* tests/mv/partition-perm: Likewise.
* tests/mv/perm-1: Likewise.
* tests/mv/reply-no: Likewise.
* tests/mv/setup: Likewise.
* tests/mv/to-symlink: Likewise.
* tests/mv/trailing-slash: Likewise.
* tests/mv/update: Likewise.
* tests/mv/vfat: Likewise.
* tests/od/od-N: Likewise.
* tests/od/x8: Likewise.
* tests/pr/Makefile.am: Likewise.
* tests/pr/Test.pm: Likewise.
* tests/readlink/can-e: Likewise.
* tests/readlink/can-f: Likewise.
* tests/readlink/can-m: Likewise.
* tests/readlink/rl-1: Likewise.
* tests/rm/Makefile.am: Likewise.
* tests/rm/cycle: Likewise.
* tests/rm/dangling-symlink: Likewise.
* tests/rm/deep-1: Likewise.
* tests/rm/dir-no-w: Likewise.
* tests/rm/dir-nonrecur: Likewise.
* tests/rm/dot-rel: Likewise.
* tests/rm/empty-inacc: Likewise.
* tests/rm/empty-name: Likewise.
* tests/rm/f-1: Likewise.
* tests/rm/fail-2eperm: Likewise.
* tests/rm/fail-eperm: Likewise.
* tests/rm/hash: Likewise.
* tests/rm/i-1: Likewise.
* tests/rm/i-no-r: Likewise.
* tests/rm/inaccessible: Likewise.
* tests/rm/interactive-always: Likewise.
* tests/rm/interactive-once: Likewise.
* tests/rm/ir-1: Likewise.
* tests/rm/isatty: Likewise.
* tests/rm/no-give-up: Likewise.
* tests/rm/r-1: Likewise.
* tests/rm/r-2: Likewise.
* tests/rm/r-3: Likewise.
* tests/rm/rm1: Likewise.
* tests/rm/rm2: Likewise.
* tests/rm/rm3: Likewise.
* tests/rm/rm4: Likewise.
* tests/rm/rm5: Likewise.
* tests/rm/sunos-1: Likewise.
* tests/rm/unread2: Likewise.
* tests/rm/unread3: Likewise.
* tests/rm/unreadable: Likewise.
* tests/rmdir/fail-perm: Likewise.
* tests/rmdir/ignore: Likewise.
* tests/rmdir/t-slash: Likewise.
* tests/seq/basic: Likewise.
* tests/sha1sum/basic-1: Likewise.
* tests/sha1sum/sample-vec: Likewise.
* tests/shred/exact: Likewise.
* tests/shred/remove: Likewise.
* tests/sort/Makefile.am: Likewise.
* tests/sort/Test.pm: Likewise.
* tests/sort-time/Makefile: Likewise.
* tests/sort-time/README: Likewise.
* tests/sort-time/rand-gen: Likewise.
* tests/stty/basic-1: Likewise.
* tests/stty/row-col-1: Likewise.
* tests/sum/basic-1: Likewise.
* tests/sum/sysv: Likewise.
* tests/tac/Makefile.am: Likewise.
* tests/tac/Test.pm: Likewise.
* tests/tail/Makefile.am: Likewise.
* tests/tail/Test.pm: Likewise.
* tests/tail-2/Makefile.am: Likewise.
* tests/tail-2/append-only: Likewise.
* tests/tail-2/assert: Likewise.
* tests/tail-2/assert-2: Likewise.
* tests/tail-2/big-4gb: Likewise.
* tests/tail-2/fflush: Likewise.
* tests/tail-2/infloop-1: Likewise.
* tests/tail-2/proc-ksyms: Likewise.
* tests/tail-2/start-middle: Likewise.
* tests/tail-2/tail-n0f: Likewise.
* tests/tee/basic: Likewise.
* tests/tee/dash: Likewise.
* tests/test/Makefile.am: Likewise.
* tests/test/Test.pm: Likewise.
* tests/touch/Makefile.am: Likewise.
* tests/touch/dangling-symlink: Likewise.
* tests/touch/empty-file: Likewise.
* tests/touch/fail-diag: Likewise.
* tests/touch/fifo: Likewise.
* tests/touch/no-create-missing: Likewise.
* tests/touch/no-rights: Likewise.
* tests/touch/not-owner: Likewise.
* tests/touch/obsolescent: Likewise.
* tests/touch/read-only: Likewise.
* tests/touch/relative: Likewise.
* tests/tr/Makefile.am: Likewise.
* tests/tr/Test.pm: Likewise.
* tests/tr/failures: Likewise.
* tests/tsort/basic-1: Likewise.
* tests/unexpand/basic-1: Likewise.
* tests/uniq/Makefile.am: Likewise.
* tests/uniq/Test.pm: Likewise.
* tests/wc/Makefile.am: Likewise.
* tests/wc/Test.pm: Likewise.
2006-08-17 Jim Meyering <jim@meyering.net> 2006-08-17 Jim Meyering <jim@meyering.net>
ls -CF would misalign columns in some cases. ls -CF would misalign columns in some cases.
@@ -2230,3 +2568,12 @@
* configure.ac: Use 6.0-cvs as the version string. * configure.ac: Use 6.0-cvs as the version string.
* NEWS: Adjust accordingly. * NEWS: Adjust accordingly.
-----
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -11000,3 +11000,12 @@
textutils, and sh-utils. textutils, and sh-utils.
* Makefile.am: Likewise. * Makefile.am: Likewise.
* src/Makefile.am: Likewise. * src/Makefile.am: Likewise.
-----
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,4 +1,22 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*- # Make coreutils. -*-Makefile-*-
# Copyright (C) 1990, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
# 2001, 2002, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
SUBDIRS = lib src doc man po tests SUBDIRS = lib src doc man po tests
EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \ EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \

12
NEWS
View File

@@ -1590,3 +1590,15 @@ packages, see ./old/*/NEWS.
This package began as the union of the following: This package began as the union of the following:
textutils-2.1, fileutils-4.1.11, sh-utils-2.0.15. textutils-2.1, fileutils-4.1.11, sh-utils-2.0.15.
========================================================================
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.

13
README
View File

@@ -172,3 +172,16 @@ http://www.gnu.org/prep/standards_toc.html.
Mail suggestions and bug reports for these programs to Mail suggestions and bug reports for these programs to
the address on the last line of --help output. the address on the last line of --help output.
========================================================================
Copyright (C) 1998, 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.

View File

@@ -1,4 +1,22 @@
#! /bin/bash #! /bin/bash
# Convert this package for use with valgrind.
# Copyright (C) 2002, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# Convert Makefile.am files: # Convert Makefile.am files:
# find tests -name Makefile.am | xargs grep -wl PATH|xargs perl -pi -e \ # find tests -name Makefile.am | xargs grep -wl PATH|xargs perl -pi -e \

19
TODO
View File

@@ -173,3 +173,22 @@ Remove all uses of the `register' keyword
pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer
ls.c: use gettime rather than clock_gettime, gettimeofday, time ls.c: use gettime rather than clock_gettime, gettimeofday, time
-----
Copyright (C) 2002, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

View File

@@ -1,12 +1,29 @@
#!/usr/bin/perl -w #!/usr/bin/perl -w
# Generate an announcement message. # Generate an announcement message.
# Copyright (C) 2002, 2003, 2004, 2005 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 Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
use strict; use strict;
use Getopt::Long; use Getopt::Long;
use Digest::MD5; use Digest::MD5;
use Digest::SHA1; use Digest::SHA1;
(my $VERSION = '$Revision: 1.24 $ ') =~ tr/[0-9].//cd; (my $VERSION = '$Revision: 1.25 $ ') =~ tr/[0-9].//cd;
(my $ME = $0) =~ s|.*/||; (my $ME = $0) =~ s|.*/||;
my %valid_release_types = map {$_ => 1} qw (alpha beta major); my %valid_release_types = map {$_ => 1} qw (alpha beta major);

View File

@@ -1,3 +1,9 @@
2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* vc-list-files: Likewise.
* mkinstalldirs: Remove; no longer needed.
2006-08-09 Paul Eggert <eggert@cs.ucla.edu> 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
* texinfo.tex: Update from gnulib. * texinfo.tex: Update from gnulib.
@@ -194,3 +200,13 @@
* config.guess (main): Don't use `head -1'; it's no longer portable. * config.guess (main): Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead. Use `sed 1q' instead.
-----
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,4 +1,23 @@
#!/bin/sh #!/bin/sh
# List the specified version-controlled files.
# Copyright (C) 2006 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 Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# List the specified version-controlled files. # List the specified version-controlled files.
# With no argument, list them all. # With no argument, list them all.
# This script must be run solely from the top of a $srcdir build directory. # This script must be run solely from the top of a $srcdir build directory.

View File

@@ -1,3 +1,16 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* Makefile.am: Likewise.
* getdate.texi: Likewise.
* perm.texi: Likewise.
* getdate.texi: Update to version 1.2 of the GNU FDL.
* coreutils.texi: Likewise.
(Copying This Manual): Renamed from GNU Free Documentation License.
Now an appendix. Include fdl.texi rather than doclicense.texi.
* fdl.tex: Renamed from doclicense.texi. Latest version from FSF.
* perm.texi: Add copyright notice.
2006-08-15 Paul Eggert <eggert@cs.ucla.edu> 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
* coreutils.texi (df invocation): df exits nonzero if it outputs * coreutils.texi (df invocation): df exits nonzero if it outputs
@@ -1812,3 +1825,13 @@
(DISABLED_constants.texi): New rule -- disabled for now. (DISABLED_constants.texi): New rule -- disabled for now.
This directory is now shared by fileutils, textutils, and sh-utils. This directory is now shared by fileutils, textutils, and sh-utils.
-----
Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,4 +1,23 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*- # Make coreutils documentation. -*-Makefile-*-
# Copyright (C) 1995, 1996, 1997, 1998, 2001, 2002, 2003, 2004, 2005,
# 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
info_TEXINFOS = coreutils.texi info_TEXINFOS = coreutils.texi
EXTRA_DIST = perm.texi getdate.texi constants.texi doclicense.texi EXTRA_DIST = perm.texi getdate.texi constants.texi doclicense.texi

View File

@@ -136,7 +136,7 @@ Copyright @copyright{} 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004,
@quotation @quotation
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled ``GNU Texts. A copy of the license is included in the section entitled ``GNU
@@ -197,7 +197,7 @@ Free Documentation License''.
* File permissions:: Access modes. * File permissions:: Access modes.
* Date input formats:: Specifying date strings. * Date input formats:: Specifying date strings.
* Opening the software toolbox:: The software tools philosophy. * Opening the software toolbox:: The software tools philosophy.
* GNU Free Documentation License:: The license for this documentation. * Copying This Manual:: License for copying this manual.
* Index:: General index. * Index:: General index.
@detailmenu @detailmenu
@@ -462,9 +462,9 @@ Opening the software toolbox
* The uniq command:: The @command{uniq} command * The uniq command:: The @command{uniq} command
* Putting the tools together:: Putting the tools together * Putting the tools together:: Putting the tools together
GNU Free Documentation License Copying This Manual
* How to use this License for your documents:: * GNU Free Documentation License:: License for copying this manual.
@end detailmenu @end detailmenu
@end menu @end menu
@@ -14457,7 +14457,14 @@ philosophy, these books are unparalleled, and I recommend them highly.
Acknowledgment: I would like to express my gratitude to Brian Kernighan Acknowledgment: I would like to express my gratitude to Brian Kernighan
of Bell Labs, the original Software Toolsmith, for reviewing this column. of Bell Labs, the original Software Toolsmith, for reviewing this column.
@include doclicense.texi @node Copying This Manual
@appendix Copying This Manual
@menu
* GNU Free Documentation License:: License for copying this manual.
@end menu
@include fdl.texi
@node Index @node Index
@unnumbered Index @unnumbered Index

View File

@@ -1,33 +1,29 @@
@c -*-texinfo-*-
@node GNU Free Documentation License @node GNU Free Documentation License
@appendix GNU Free Documentation License @appendixsec GNU Free Documentation License
@center Version 1.1, March 2000
@ifnottex @cindex FDL, GNU Free Documentation License
@menu @center Version 1.2, November 2002
* How to use this License for your documents::
@end menu
@end ifnottex
@display @display
Copyright (C) 2000 Free Software Foundation, Inc. Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.
@end display @end display
@iftex
@sp1
@end iftex
@enumerate 0 @enumerate 0
@item @item
PREAMBLE PREAMBLE
The purpose of this License is to make a manual, textbook, or other The purpose of this License is to make a manual, textbook, or other
written document ``free'' in the sense of freedom: to assure everyone functional and useful document @dfn{free} in the sense of freedom: to
the effective freedom to copy and redistribute it, with or without assure everyone the effective freedom to copy and redistribute it,
modifying it, either commercially or noncommercially. Secondarily, with or without modifying it, either commercially or noncommercially.
this License preserves for the author and publisher a way to get Secondarily, this License preserves for the author and publisher a way
credit for their work, while not being considered responsible for to get credit for their work, while not being considered responsible
modifications made by others. for modifications made by others.
This License is a kind of ``copyleft'', which means that derivative This License is a kind of ``copyleft'', which means that derivative
works of the document must themselves be free in the same sense. It works of the document must themselves be free in the same sense. It
@@ -41,62 +37,73 @@ software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference. principally for works whose purpose is instruction or reference.
@iftex
@sp1
@end iftex
@item @item
APPLICABILITY AND DEFINITIONS APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work that contains a This License applies to any manual or other work, in any medium, that
notice placed by the copyright holder saying it can be distributed contains a notice placed by the copyright holder saying it can be
under the terms of this License. The ``Document'', below, refers to any distributed under the terms of this License. Such a notice grants a
such manual or work. Any member of the public is a licensee, and is world-wide, royalty-free license, unlimited in duration, to use that
addressed as ``you''. work under the conditions stated herein. The ``Document'', below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as ``you''. You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A ``Modified Version'' of the Document means any work containing the A ``Modified Version'' of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language. modifications and/or translated into another language.
A ``Secondary Section'' is a named appendix or a front-matter section of A ``Secondary Section'' is a named appendix or a front-matter section
the Document that deals exclusively with the relationship of the of the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject publishers or authors of the Document to the Document's overall
(or to related matters) and contains nothing that could fall directly subject (or to related matters) and contains nothing that could fall
within that overall subject. (For example, if the Document is in part a directly within that overall subject. (Thus, if the Document is in
textbook of mathematics, a Secondary Section may not explain any part a textbook of mathematics, a Secondary Section may not explain
mathematics.) The relationship could be a matter of historical any mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal, connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding commercial, philosophical, ethical or political position regarding
them. them.
The ``Invariant Sections'' are certain Secondary Sections whose titles The ``Invariant Sections'' are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The ``Cover Texts'' are certain short passages of text that are listed, The ``Cover Texts'' are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A ``Transparent'' copy of the Document means a machine-readable copy, A ``Transparent'' copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the represented in a format whose specification is available to the
general public, whose contents can be viewed and edited directly and general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file to text formatters. A copy made in an otherwise Transparent file
format whose markup has been designed to thwart or discourage format whose markup, or absence of markup, has been arranged to thwart
subsequent modification by readers is not Transparent. A copy that is or discourage subsequent modification by readers is not Transparent.
not ``Transparent'' is called ``Opaque''. An image format is not Transparent if used for any substantial amount
of text. A copy that is not ``Transparent'' is called ``Opaque''.
Examples of suitable formats for Transparent copies include plain Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML @sc{ascii} without markup, Texinfo input format, La@TeX{} input
or XML using a publicly available DTD, and standard-conforming simple format, @acronym{SGML} or @acronym{XML} using a publicly available
HTML designed for human modification. Opaque formats include @acronym{DTD}, and standard-conforming simple @acronym{HTML},
PostScript, PDF, proprietary formats that can be read and edited only PostScript or @acronym{PDF} designed for human modification. Examples
by proprietary word processors, SGML or XML for which the DTD and/or of transparent image formats include @acronym{PNG}, @acronym{XCF} and
processing tools are not generally available, and the @acronym{JPG}. Opaque formats include proprietary formats that can be
machine-generated HTML produced by some word processors for output read and edited only by proprietary word processors, @acronym{SGML} or
purposes only. @acronym{XML} for which the @acronym{DTD} and/or processing tools are
not generally available, and the machine-generated @acronym{HTML},
PostScript or @acronym{PDF} produced by some word processors for
output purposes only.
The ``Title Page'' means, for a printed book, the title page itself, The ``Title Page'' means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material plus such following pages as are needed to hold, legibly, the material
@@ -104,9 +111,22 @@ this License requires to appear in the title page. For works in
formats which do not have any title page as such, ``Title Page'' means formats which do not have any title page as such, ``Title Page'' means
the text near the most prominent appearance of the work's title, the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text. preceding the beginning of the body of the text.
@iftex
@sp1 A section ``Entitled XYZ'' means a named subunit of the Document whose
@end iftex title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as ``Acknowledgements'',
``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title''
of such a section when you modify the Document means that it remains a
section ``Entitled XYZ'' according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
@item @item
VERBATIM COPYING VERBATIM COPYING
@@ -122,15 +142,14 @@ number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and You may also lend copies, under the same conditions stated above, and
you may publicly display copies. you may publicly display copies.
@iftex
@sp1
@end iftex
@item @item
COPYING IN QUANTITY COPYING IN QUANTITY
If you publish printed copies of the Document numbering more than 100, If you publish printed copies (or copies in media that commonly have
and the Document's license notice requires Cover Texts, you must enclose printed covers) of the Document, numbering more than 100, and the
the copies in covers that carry, clearly and legibly, all these Cover Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present you as the publisher of these copies. The front cover must present
@@ -148,23 +167,20 @@ pages.
If you publish or distribute Opaque copies of the Document numbering If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy copy along with each Opaque copy, or state in or with each Opaque copy
a publicly-accessible computer-network location containing a complete a computer-network location from which the general network-using
Transparent copy of the Document, free of added material, which the public has access to download using public-standard network protocols
general network-using public has access to download anonymously at no a complete Transparent copy of the Document, free of added material.
charge using public-standard network protocols. If you use the latter If you use the latter option, you must take reasonably prudent steps,
option, you must take reasonably prudent steps, when you begin when you begin distribution of Opaque copies in quantity, to ensure
distribution of Opaque copies in quantity, to ensure that this that this Transparent copy will remain thus accessible at the stated
Transparent copy will remain thus accessible at the stated location location until at least one year after the last time you distribute an
until at least one year after the last time you distribute an Opaque Opaque copy (directly or through your agents or retailers) of that
copy (directly or through your agents or retailers) of that edition to edition to the public.
the public.
It is requested, but not required, that you contact the authors of the It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document. them a chance to provide you with an updated version of the Document.
@iftex
@sp1
@end iftex
@item @item
MODIFICATIONS MODIFICATIONS
@@ -175,54 +191,85 @@ Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version: of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct @enumerate A
@item
Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section (which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.@* if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
@item
List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has less than five).@* Document (all of its principal authors, if it has fewer than five),
C. State on the Title page the name of the publisher of the unless they release you from this requirement.
Modified Version, as the publisher.@*
D. Preserve all the copyright notices of the Document.@* @item
E. Add an appropriate copyright notice for your modifications State on the Title page the name of the publisher of the
adjacent to the other copyright notices.@* Modified Version, as the publisher.
F. Include, immediately after the copyright notices, a license notice
@item
Preserve all the copyright notices of the Document.
@item
Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
@item
Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.@* terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.@* @item
H. Include an unaltered copy of this License.@* Preserve in that license notice the full lists of Invariant Sections
I. Preserve the section entitled ``History'', and its title, and add to and required Cover Texts given in the Document's license notice.
it an item stating at least the title, year, new authors, and
@item
Include an unaltered copy of this License.
@item
Preserve the section Entitled ``History'', Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If publisher of the Modified Version as given on the Title Page. If
there is no section entitled ``History'' in the Document, create one there is no section Entitled ``History'' in the Document, create one
stating the title, year, authors, and publisher of the Document as stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.@* Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
@item
Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions the network locations given in the Document for previous versions
it was based on. These may be placed in the ``History'' section. it was based on. These may be placed in the ``History'' section.
You may omit a network location for a work that was published at You may omit a network location for a work that was published at
least four years before the Document itself, or if the original least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.@* publisher of the version it refers to gives permission.
K. In any section entitled ``Acknowledgements'' or ``Dedications'',
preserve the section's title, and preserve in the section all the @item
substance and tone of each of the contributor acknowledgements For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
and/or dedications given therein.@* the Title of the section, and preserve in the section all the
L. Preserve all the Invariant Sections of the Document, substance and tone of each of the contributor acknowledgements and/or
dedications given therein.
@item
Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.@* or the equivalent are not considered part of the section titles.
M. Delete any section entitled ``Endorsements''. Such a section
may not be included in the Modified Version.@* @item
N. Do not retitle any existing section as ``Endorsements'' Delete any section Entitled ``Endorsements''. Such a section
or to conflict in title with any Invariant Section.@* may not be included in the Modified Version.
@iftex
@sp1 @item
@end iftex Do not retitle any existing section to be Entitled ``Endorsements'' or
to conflict in title with any Invariant Section.
@item
Preserve any Warranty Disclaimers.
@end enumerate
If the Modified Version includes new front-matter sections or If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all copied from the Document, you may at your option designate some or all
@@ -230,9 +277,9 @@ of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice. list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles. These titles must be distinct from any other section titles.
You may add a section entitled ``Endorsements'', provided it contains You may add a section Entitled ``Endorsements'', provided it contains
nothing but endorsements of your Modified Version by various nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has parties---for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a been approved by an organization as the authoritative definition of a
standard. standard.
@@ -249,9 +296,7 @@ permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version. imply endorsement of any Modified Version.
@iftex
@sp1
@end iftex
@item @item
COMBINING DOCUMENTS COMBINING DOCUMENTS
@@ -260,7 +305,7 @@ License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its list them all as Invariant Sections of your combined work in its
license notice. license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single multiple identical Invariant Sections may be replaced with a single
@@ -271,14 +316,12 @@ author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work. Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections entitled ``History'' In the combination, you must combine any sections Entitled ``History''
in the various original documents, forming one section entitled in the various original documents, forming one section Entitled
``History''; likewise combine any sections entitled ``Acknowledgements'', ``History''; likewise combine any sections Entitled ``Acknowledgements'',
and any sections entitled ``Dedications''. You must delete all sections and any sections Entitled ``Dedications''. You must delete all
entitled ``Endorsements.'' sections Entitled ``Endorsements.''
@iftex
@sp1
@end iftex
@item @item
COLLECTIONS OF DOCUMENTS COLLECTIONS OF DOCUMENTS
@@ -292,29 +335,27 @@ You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document. other respects regarding verbatim copying of that document.
@iftex
@sp1
@end iftex
@item @item
AGGREGATION WITH INDEPENDENT WORKS AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or and independent documents or works, in or on a volume of a storage or
distribution medium, does not as a whole count as a Modified Version distribution medium, is called an ``aggregate'' if the copyright
of the Document, provided no compilation copyright is claimed for the resulting from the compilation is not used to limit the legal rights
compilation. Such a compilation is called an ``aggregate'', and this of the compilation's users beyond what the individual works permit.
License does not apply to the other self-contained works thus compiled When the Document is included in an aggregate, this License does not
with the Document, on account of their being thus compiled, if they apply to the other works in the aggregate which are not themselves
are not themselves derivative works of the Document. derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one quarter copies of the Document, then if the Document is less than one half of
of the entire aggregate, the Document's Cover Texts may be placed on the entire aggregate, the Document's Cover Texts may be placed on
covers that surround only the Document within the aggregate. covers that bracket the Document within the aggregate, or the
Otherwise they must appear on covers around the whole aggregate. electronic equivalent of covers if the Document is in electronic form.
@iftex Otherwise they must appear on printed covers that bracket the whole
@sp1 aggregate.
@end iftex
@item @item
TRANSLATION TRANSLATION
@@ -324,13 +365,18 @@ Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a original versions of these Invariant Sections. You may include a
translation of this License provided that you also include the translation of this License, and all the license notices in the
original English version of this License. In case of a disagreement Document, and any Warranty Disclaimers, provided that you also include
between the translation and the original English version of this the original English version of this License and the original versions
License, the original English version will prevail. of those notices and disclaimers. In case of a disagreement between
@iftex the translation and the original version of this License or a notice
@sp1 or disclaimer, the original version will prevail.
@end iftex
If a section in the Document is Entitled ``Acknowledgements'',
``Dedications'', or ``History'', the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
@item @item
TERMINATION TERMINATION
@@ -341,9 +387,7 @@ automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such License will not have their licenses terminated so long as such
parties remain in full compliance. parties remain in full compliance.
@iftex
@sp1
@end iftex
@item @item
FUTURE REVISIONS OF THIS LICENSE FUTURE REVISIONS OF THIS LICENSE
@@ -351,7 +395,7 @@ The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/. @uref{http://www.gnu.org/copyleft/}.
Each version of the License is given a distinguishing version number. Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this If the Document specifies that a particular numbered version of this
@@ -361,11 +405,10 @@ of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation. as a draft) by the Free Software Foundation.
@end enumerate @end enumerate
@node How to use this License for your documents @page
@unnumberedsec ADDENDUM: How to use this License for your documents @appendixsubsec ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and the License in the document and put the following copyright and
@@ -373,23 +416,37 @@ license notices just after the title page:
@smallexample @smallexample
@group @group
Copyright (C) @var{year} @var{your name}. Copyright (C) @var{year} @var{your name}.
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation; or any later version published by the Free Software Foundation;
with the Invariant Sections being @var{list their titles}, with the with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}. Texts. A copy of the license is included in the section entitled ``GNU
A copy of the license is included in the section entitled ``GNU
Free Documentation License''. Free Documentation License''.
@end group @end group
@end smallexample @end smallexample
If you have no Invariant Sections, write ``with no Invariant Sections''
instead of saying which ones are invariant. If you have no If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
Front-Cover Texts, write ``no Front-Cover Texts'' instead of replace the ``with...Texts.'' line with this:
``Front-Cover Texts being @var{list}''; likewise for Back-Cover Texts.
@smallexample
@group
with the Invariant Sections being @var{list their titles}, with
the Front-Cover Texts being @var{list}, and with the Back-Cover Texts
being @var{list}.
@end group
@end smallexample
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License, free software license, such as the GNU General Public License,
to permit their use in free software. to permit their use in free software.
@c Local Variables:
@c ispell-local-pdict: "ispell-dict"
@c End:

View File

@@ -4,7 +4,7 @@
@c 2003, 2004, 2005, 2006 Free Software Foundation, Inc. @c 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@c Permission is granted to copy, distribute and/or modify this document @c Permission is granted to copy, distribute and/or modify this document
@c under the terms of the GNU Free Documentation License, Version 1.1 or @c under the terms of the GNU Free Documentation License, Version 1.2 or
@c any later version published by the Free Software Foundation; with no @c any later version published by the Free Software Foundation; with no
@c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover @c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
@c Texts. A copy of the license is included in the ``GNU Free @c Texts. A copy of the license is included in the ``GNU Free

View File

@@ -1,3 +1,15 @@
@c File mode bits
@c Copyright (C) 1994, 1996, 1999, 2000, 2001, 2003, 2004, 2005, 2006
@c Free Software Foundation, Inc.
@c Permission is granted to copy, distribute and/or modify this document
@c under the terms of the GNU Free Documentation License, Version 1.2 or
@c any later version published by the Free Software Foundation; with no
@c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
@c Texts. A copy of the license is included in the ``GNU Free
@c Documentation License'' file as part of this distribution.
Each file has a set of @dfn{file mode bits} that control the kinds of Each file has a set of @dfn{file mode bits} that control the kinds of
access that users have to that file. They can be represented either in access that users have to that file. They can be represented either in
symbolic form or as an octal number. symbolic form or as an octal number.

View File

@@ -1,3 +1,22 @@
# GDB history for debugging coreutils.
#
# Copyright (C) 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
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#
r 206.65.212.10 r 206.65.212.10
b main b main
r r

View File

@@ -1,3 +1,18 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* .gdb-history: Likewise.
* TODO: Likewise.
* __fpending.h: Likewise.
* fdopendir-glibc.c: Likewise.
* fprintftime.h: Likewise.
* root-dev-ino.h: Likewise.
* search_.h: Likewise.
* t-chdir-long: Likewise.
* t-fpending.c: Likewise.
* savedir.c: Use (C) in copyright notice.
* savedir.h: Likewise.
2006-08-16 Paul Eggert <eggert@cs.ucla.edu> 2006-08-16 Paul Eggert <eggert@cs.ucla.edu>
* memcoll.c (memcoll): Set errno = 0 in the shortcut case, too. * memcoll.c (memcoll): Set errno = 0 in the shortcut case, too.
@@ -8465,3 +8480,13 @@
* quotearg.c (quotearg_buffer_restyled): Do not quote * quotearg.c (quotearg_buffer_restyled): Do not quote
alert, backslash, formfeed, and vertical tab unnecessarily in alert, backslash, formfeed, and vertical tab unnecessarily in
shell quoting style. shell quoting style.
-----
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -30,3 +30,11 @@ Mention fragmentation.
assert (bucket_limit - bucket == n_buckets) ? assert (bucket_limit - bucket == n_buckets) ?
remove.c: s/done/successful or ok remove.c: s/done/successful or ok
-----
Copyright (C) 1998 Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,3 +1,23 @@
/* Declare __fpending.
Copyright (C) 2000, 2003, 2005 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Written by Jim Meyering. */
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -1,3 +1,21 @@
/* fdopendir implementation derived from glibc.
Copyright (C) 2006 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif

View File

@@ -1,3 +1,21 @@
/* Generate time strings directly to the output. */
/* Copyright (C) 2005 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>

View File

@@ -1,3 +1,21 @@
/* Root device and inode number checking.
Copyright (C) 2003, 2006 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifndef ROOT_DEV_INO_H #ifndef ROOT_DEV_INO_H
# define ROOT_DEV_INO_H 1 # define ROOT_DEV_INO_H 1

View File

@@ -1,7 +1,7 @@
/* savedir.c -- save the list of files in a directory in a string /* savedir.c -- save the list of files in a directory in a string
Copyright 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free Copyright (C) 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
Software Foundation, Inc. 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@@ -1,6 +1,6 @@
/* Save the list of files in a directory in a string. /* Save the list of files in a directory in a string.
Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. Copyright (C) 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@@ -1,3 +1,22 @@
/* Tree search.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
/* For use with hsearch(3). */ /* For use with hsearch(3). */
#ifndef __COMPAR_FN_T #ifndef __COMPAR_FN_T
# define __COMPAR_FN_T # define __COMPAR_FN_T

View File

@@ -1,5 +1,24 @@
#!/bin/sh #!/bin/sh
# Exercise chdir-long's sample main program. # Exercise chdir-long's sample main program.
# Copyright (C) 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# FIXME: add traps and choose top level names so that # FIXME: add traps and choose top level names so that
# temporary directories are easier to remove. # temporary directories are easier to remove.
# FIXME: don't clobber a.out # FIXME: don't clobber a.out

View File

@@ -1,4 +1,22 @@
/* Ensure that __fpending works. */ /* Ensure that __fpending works.
Copyright (C) 2004 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Written by Jim Meyering. */
#include <config.h> #include <config.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -1,3 +1,8 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* check-decl.m4: Likewise.
2006-08-15 Jim Meyering <jim@meyering.net> 2006-08-15 Jim Meyering <jim@meyering.net>
* openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES. * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
@@ -4749,3 +4754,13 @@
* inttypes_h.m4: New file. * inttypes_h.m4: New file.
* uintmax_t.m4: New file. * uintmax_t.m4: New file.
* Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
-----
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006 Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,4 +1,13 @@
#serial 22 #serial 22
# Check declarations for this package.
dnl Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
dnl Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This is just a wrapper function to encapsulate this kludge. dnl This is just a wrapper function to encapsulate this kludge.
dnl Putting it in a separate file like this helps share it between dnl Putting it in a separate file like this helps share it between

View File

@@ -1,4 +1,23 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*- # Make coreutils man pages. -*-Makefile-*-
# Copyright (C) 2002, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
dist_man_MANS = \ dist_man_MANS = \
base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \ base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \
cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \ cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \

View File

@@ -1,3 +1,8 @@
'\" Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
'\"
'\" This is free software. You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
'\" There is NO WARRANTY, to the extent permitted by law.
[NAME] [NAME]
chmod \- change file mode bits chmod \- change file mode bits
[DESCRIPTION] [DESCRIPTION]

View File

@@ -1,3 +1,8 @@
'\" Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
'\"
'\" This is free software. You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
'\" There is NO WARRANTY, to the extent permitted by law.
[NAME] [NAME]
chown \- change file owner and group chown \- change file owner and group
[DESCRIPTION] [DESCRIPTION]

View File

@@ -1,3 +1,8 @@
'\" Copyright (C) 1998, 1999, 2004 Free Software Foundation, Inc.
'\"
'\" This is free software. You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
'\" There is NO WARRANTY, to the extent permitted by law.
[NAME] [NAME]
df \- report file system disk space usage df \- report file system disk space usage
[DESCRIPTION] [DESCRIPTION]

View File

@@ -1,3 +1,8 @@
'\" Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
'\"
'\" This is free software. You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
'\" There is NO WARRANTY, to the extent permitted by law.
[NAME] [NAME]
du \- estimate file space usage du \- estimate file space usage
[DESCRIPTION] [DESCRIPTION]

View File

@@ -1,3 +1,9 @@
'\" Copyright (C) 1998, 1999, 2001, 2003, 2004, 2006 Free Software
'\" Foundation, Inc.
'\"
'\" This is free software. You may redistribute copies of it under the terms
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
'\" There is NO WARRANTY, to the extent permitted by law.
[NAME] [NAME]
rm \- remove files or directories rm \- remove files or directories
[DESCRIPTION] [DESCRIPTION]

View File

@@ -1,3 +1,9 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* ChangeLog-1997: Likewise.
* NEWS: Likewise.
2002-07-28 Jim Meyering <meyering@lucent.com> 2002-07-28 Jim Meyering <meyering@lucent.com>
* Version 4.1.12. * Version 4.1.12.
@@ -8380,3 +8386,13 @@
* src/rm.c (remove_cwd_entries): Initialize the entry-name obstack * src/rm.c (remove_cwd_entries): Initialize the entry-name obstack
only once and never free it. only once and never free it.
-----
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -6154,3 +6154,13 @@ Thu Feb 8 21:25:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
Mon Feb 5 17:29:20 1990 David J. MacKenzie (djm at albert.ai.mit.edu) Mon Feb 5 17:29:20 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* Version 1.0 released. * Version 1.0 released.
-----
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -746,3 +746,15 @@ Major changes in release 3.3:
* ls sped up by not reading symlink contents unnecessarily * ls sped up by not reading symlink contents unnecessarily
* du doesn't die on POSIX systems when the root filesystem is NFS mounted * du doesn't die on POSIX systems when the root filesystem is NFS mounted
* cp and mv report chown Permission denied errors when run by root * cp and mv report chown Permission denied errors when run by root
========================================================================
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.

View File

@@ -1,3 +1,9 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* ChangeLog.0: Likewise.
* NEWS: Likewise.
2002-08-08 Jim Meyering <meyering@lucent.com> 2002-08-08 Jim Meyering <meyering@lucent.com>
* Version 2.0.15. * Version 2.0.15.
@@ -4848,3 +4854,13 @@ Thu Nov 17 23:47:26 1994 Jim Meyering (meyering@comco.com)
(list_entries_users): Sort the user names. Reported by (list_entries_users): Sort the user names. Reported by
Michael I Bushnell. Michael I Bushnell.
Topologically sort the functions and remove fwd declarations. Topologically sort the functions and remove fwd declarations.
-----
Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2006
Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1702,6 +1702,16 @@ Sat Oct 28 13:20:43 1989 David J. MacKenzie (djm at spiff)
(program_name, long_options): New variables. (program_name, long_options): New variables.
(main): Support long options. (main): Support long options.
(usage): Add long options summary to message. (usage): Add long options summary to message.
-----
Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.
Local Variables: Local Variables:
mode: indented-text mode: indented-text

View File

@@ -270,3 +270,15 @@ Major changes in release 1.7:
* printf catches numeric conversion errors with an ANSI C library * printf catches numeric conversion errors with an ANSI C library
* stty nl and -nl were backwards * stty nl and -nl were backwards
* date can format an arbitrary date without setting it * date can format an arbitrary date without setting it
========================================================================
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.

View File

@@ -1,3 +1,8 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* ChangeLog: Add copyright notice.
* NEWS: Likewise.
2002-07-29 Jim Meyering <meyering@lucent.com> 2002-07-29 Jim Meyering <meyering@lucent.com>
* Version 2.1. * Version 2.1.
@@ -8736,3 +8741,13 @@ Sat Dec 16 15:15:50 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
(error): Print to stderr, not stdout. (error): Print to stderr, not stdout.
(xmalloc, xrealloc): Return char * instead of int. (xmalloc, xrealloc): Return char * instead of int.
Returning 0 is ok if 0 bytes requested (ANSI C). Returning 0 is ok if 0 bytes requested (ANSI C).
-----
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -458,3 +458,15 @@ Major changes in release 1.4:
* tr x '' fails gracefully * tr x '' fails gracefully
* default sum output format is BSD compatible * default sum output format is BSD compatible
* paste -d '' works * paste -d '' works
========================================================================
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2006 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the ``GNU Free
Documentation License'' file as part of this distribution.

View File

@@ -1,3 +1,8 @@
2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
* po/ChangeLog: Add copyright notice.
* po/Makevars: Likewise.
2006-08-10 Paul Eggert <eggert@cs.ucla.edu> 2006-08-10 Paul Eggert <eggert@cs.ucla.edu>
* Makevars (XGETTEXT_OPTIONS): Add pass-c-format flags for * Makevars (XGETTEXT_OPTIONS): Add pass-c-format flags for
@@ -182,3 +187,13 @@
2002-09-02 Jim Meyering <jim@meyering.net> 2002-09-02 Jim Meyering <jim@meyering.net>
* LINGUAS: Add lg (Luganda). * LINGUAS: Add lg (Luganda).
-----
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice
and this notice are preserved.

View File

@@ -1,5 +1,22 @@
# Makefile variables for PO directory in any package using GNU gettext. # Makefile variables for PO directory in any package using GNU gettext.
## Copyright (C) 2002, 2003, 2006 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 Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
## 02110-1301, USA.
# Usually the message domain is the same as the package name. # Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE) DOMAIN = $(PACKAGE)

View File

@@ -1,6 +1,11 @@
# Configuration file for dircolors, a utility to help you set the # Configuration file for dircolors, a utility to help you set the
# LS_COLORS environment variable used by GNU ls with the --color option. # LS_COLORS environment variable used by GNU ls with the --color option.
# Copyright (C) 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Copying and distribution of this file, with or without modification,
# are permitted provided the copyright notice and this notice are preserved.
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
# slackware version of dircolors) are recognized but ignored. # slackware version of dircolors) are recognized but ignored.

View File

@@ -1,4 +1,21 @@
#!/bin/bash #!/bin/bash
# Copyright (C) 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 Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
cat - <<\EOF > /dev/null cat - <<\EOF > /dev/null
Invoke e.g., like this Invoke e.g., like this
DU1=du-4.5.2 DU2=du ./du-tests DU1=du-4.5.2 DU2=du ./du-tests

View File

@@ -1,10 +1,27 @@
#!/usr/bin/perl -w #!/usr/bin/perl -w
# Derive #define directives from specially formatted `case ...:' statements. # Derive #define directives from specially formatted `case ...:' statements.
# Copyright (C) 2003, 2005 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 Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
use strict; use strict;
use Getopt::Long; use Getopt::Long;
(my $VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd; (my $VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd;
(my $ME = $0) =~ s|.*/||; (my $ME = $0) =~ s|.*/||;
END END

View File

@@ -1,3 +1,21 @@
/* tac from a pipe.
Copyright (C) 1997, 1998, 2002, 2004 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 Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
/* FIXME */ /* FIXME */
#include <assert.h> #include <assert.h>

View File

@@ -1,6 +1,6 @@
/* uname -- print system information /* uname -- print system information
Copyright 1989, 1992, 1993, 1996, 1997, 1999, 2000, 2001, 2002, Copyright (C) 1989, 1992, 1993, 1996, 1997, 1999, 2000, 2001, 2002,
2003, 2004, 2005 Free Software Foundation, Inc. 2003, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@@ -1,4 +1,21 @@
#!/usr/bin/perl -w #!/usr/bin/perl -w
# Generate the spokes of a wheel, for wheel factorization.
# Copyright (C) 2001, 2005 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 Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; if 0;

View File

@@ -1,6 +1,24 @@
package Coreutils; package Coreutils;
# This is a testing framework. # This is a testing framework.
# Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
require 5.003; require 5.003;
use strict; use strict;
use vars qw($VERSION @ISA @EXPORT); use vars qw($VERSION @ISA @EXPORT);
@@ -9,7 +27,7 @@ use FileHandle;
use File::Compare qw(compare); use File::Compare qw(compare);
@ISA = qw(Exporter); @ISA = qw(Exporter);
($VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd; ($VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd;
@EXPORT = qw (run_tests); @EXPORT = qw (run_tests);
my $debug = $ENV{DEBUG}; my $debug = $ENV{DEBUG};

View File

@@ -1,4 +1,22 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*-. # Make coreutils tests. -*-Makefile-*-
# Copyright (C) 1997, 1998, 2000, 2003, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
##test-files-begin ##test-files-begin
##test-files-end ##test-files-end

View File

@@ -1,3 +1,22 @@
# Test whether acl tests can be done.
# Copyright (C) 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
getfacl --version < /dev/null > /dev/null 2>&1 \ getfacl --version < /dev/null > /dev/null 2>&1 \
&& setfacl --version < /dev/null > /dev/null 2>&1 || { && setfacl --version < /dev/null > /dev/null 2>&1 || {
cat <<EOF 1>&2 cat <<EOF 1>&2

View File

@@ -1,6 +1,24 @@
#!/bin/sh #!/bin/sh
# make sure chgrp is reasonable # make sure chgrp is reasonable
# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# see if chgrp can change the group of a symlink # see if chgrp can change the group of a symlink
# Copyright (C) 2000, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -2,6 +2,23 @@
# Make sure chgrp gives the right diagnostic for a readable, # Make sure chgrp gives the right diagnostic for a readable,
# but inaccessible directory. # but inaccessible directory.
# Copyright (C) 2003, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Test POSIX-mandated -H option. # Test POSIX-mandated -H option.
# Copyright (C) 2003, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# ad-hoc tests of chgrp with -R and -H or -L and symlinks # ad-hoc tests of chgrp with -R and -H or -L and symlinks
# Copyright (C) 2000, 2003, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Verify that chmod's --changes (-c) option works. # Verify that chmod's --changes (-c) option works.
# Copyright (C) 2000, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -1,4 +1,23 @@
#!/bin/sh #!/bin/sh
# Test "chmod =x" and the like.
# Copyright (C) 1999, 2000, 2002, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x

View File

@@ -3,6 +3,24 @@
# Before fileutils-4.1.2, some of them didn't. # Before fileutils-4.1.2, some of them didn't.
# Also, before coreutils-5.3.1, =[ugo] sometimes didn't work. # Also, before coreutils-5.3.1, =[ugo] sometimes didn't work.
# Copyright (C) 2001, 2002, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -2,6 +2,23 @@
# Make sure chmod gives the right diagnostic for a readable, # Make sure chmod gives the right diagnostic for a readable,
# but inaccessible directory. # but inaccessible directory.
# Copyright (C) 2003, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# ensure that chmod diagnoses a certain type of invalid mode string # ensure that chmod diagnoses a certain type of invalid mode string
# Copyright (C) 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -2,6 +2,23 @@
# Make sure GNU chmod works the same way as those of Solaris, HPUX, AIX # Make sure GNU chmod works the same way as those of Solaris, HPUX, AIX
# wrt directories with the setgid bit set. # wrt directories with the setgid bit set.
# Copyright (C) 2001, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Test that chmod -x file reports an error if the result is executable. # Test that chmod -x file reports an error if the result is executable.
# Copyright (C) 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Verify that chmod works correctly with odd option combinations. # Verify that chmod works correctly with odd option combinations.
# Copyright (C) 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chmod --version chmod --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# make sure chown --from=... works # make sure chown --from=... works
# Copyright (C) 2001, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chgrp --version chgrp --version

View File

@@ -2,6 +2,23 @@
# For coreutils-5.2.1 and earlier, chown --dereference would skip # For coreutils-5.2.1 and earlier, chown --dereference would skip
# symlinks having owner/group matching the specified owner/group. # symlinks having owner/group matching the specified owner/group.
# Copyright (C) 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chown --version chown --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Make sure "chown USER:GROUP FILE" works, and similar tests with separators. # Make sure "chown USER:GROUP FILE" works, and similar tests with separators.
# Copyright (C) 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
chown --version chown --version

View File

@@ -1,4 +1,23 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*-. # Make coreutils tests for cp. -*-Makefile-*-
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
AUTOMAKE_OPTIONS = 1.1 gnits AUTOMAKE_OPTIONS = 1.1 gnits
TESTS = \ TESTS = \

View File

@@ -2,6 +2,23 @@
# copy files/directories across file system boundaries # copy files/directories across file system boundaries
# and make sure acls are preserved appropriately # and make sure acls are preserved appropriately
# Copyright (C) 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
. $srcdir/../acl . $srcdir/../acl
# Make sure we get English translations. # Make sure we get English translations.
. $srcdir/../lang-default . $srcdir/../lang-default

View File

@@ -1,4 +1,22 @@
#!/bin/sh #!/bin/sh
# Test cp backup.
# Copyright (C) 1997, 1999, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x

View File

@@ -1,4 +1,23 @@
#!/bin/sh #!/bin/sh
# Test cp backup to source file.
# Copyright (C) 1998, 1999, 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x

View File

@@ -1,5 +1,22 @@
#!/bin/sh #!/bin/sh
# test cp's new, -H and -L options # test cp's -H and -L options
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x

View File

@@ -2,6 +2,23 @@
# cp -RL dir1 dir2' must handle the case in which each of dir1 and dir2 # cp -RL dir1 dir2' must handle the case in which each of dir1 and dir2
# contain a symlink pointing to some third directory. # contain a symlink pointing to some third directory.
# Copyright (C) 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Test basic --backup functionality for both cp and mv. # Test basic --backup functionality for both cp and mv.
# Copyright (C) 1999, 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# cp -R --parents dir-specified-with-trailing-slash/ other-dir # cp -R --parents dir-specified-with-trailing-slash/ other-dir
# would get a failed assertion. # would get a failed assertion.
# Copyright (C) 2000, 2002, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
mv --version mv --version

View File

@@ -2,6 +2,23 @@
# Demonstrate bug when using -d with an existing destination file # Demonstrate bug when using -d with an existing destination file
# that is a symlink. # that is a symlink.
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# verify that cp's --remove-destination option works with -R # verify that cp's --remove-destination option works with -R
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# Make sure that cp -R DIR1 DIR2 does the right thing # Make sure that cp -R DIR1 DIR2 does the right thing
# when DIR1 is written with a trailing slash. # when DIR1 is written with a trailing slash.
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# A directory may not replace an existing file. # A directory may not replace an existing file.
# Copyright (C) 2001, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,5 +1,23 @@
#!/bin/sh #!/bin/sh
# Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,5 +1,23 @@
#!/bin/sh #!/bin/sh
# Confirm that copying a directory into itself gets a proper diagnostic. # Confirm that copying a directory into itself gets a proper diagnostic.
# Copyright (C) 2001, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# In 4.0.35 and earlier, `mkdir dir && cp -R dir dir' would produce this: # In 4.0.35 and earlier, `mkdir dir && cp -R dir dir' would produce this:
# cp: won't create hard link `dir/dir/dir' to directory `' # cp: won't create hard link `dir/dir/dir' to directory `'
# Now it gives this: # Now it gives this:

View File

@@ -2,6 +2,23 @@
# Make sure cp --link -f works when the target exists. # Make sure cp --link -f works when the target exists.
# This failed for 4.0z (due to a bug introduced in that test release). # This failed for 4.0z (due to a bug introduced in that test release).
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Ensure that cp --link --no-dereference works properly # Ensure that cp --link --no-dereference works properly
# Copyright (C) 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# ensure that `cp -d' preserves hard-links between command line arguments # ensure that `cp -d' preserves hard-links between command line arguments
# ensure that --preserve=links works with -RH and -RL # ensure that --preserve=links works with -RH and -RL
# Copyright (C) 2001, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# FIXME: This test requires ln -s. # FIXME: This test requires ln -s.
# cp from 3.16 fails this test # cp from 3.16 fails this test
# Copyright (C) 1997, 1999, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# FIXME: This test requires ln -s. # FIXME: This test requires ln -s.
# cp from 3.16 fails this test # cp from 3.16 fails this test
# Copyright (C) 1997, 1999, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# FIXME: This test requires ln -s. # FIXME: This test requires ln -s.
# cp from 3.16 fails this test # cp from 3.16 fails this test
# Copyright (C) 1997, 1999, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# Make sure the permission-preserving code in copy.c (mv, cp, install) works. # Make sure the permission-preserving code in copy.c (mv, cp, install) works.
# Copyright (C) 2000, 2002, 2004, 2005 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
. $srcdir/../very-expensive . $srcdir/../very-expensive
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then

View File

@@ -1,6 +1,23 @@
#!/bin/sh #!/bin/sh
# ensure that cp's --preserve=X,Y option is parsed properly # ensure that cp's --preserve=X,Y option is parsed properly
# Copyright (C) 2002 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -1,5 +1,23 @@
#!/bin/sh #!/bin/sh
# cp -r should not create symlinks. Fixed in fileutils-4.1.5. # cp -r should not create symlinks. Fixed in fileutils-4.1.5.
# Copyright (C) 2001, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# Restored old behavior (whereby cp -r preserves symlinks) in 4.1.6, # Restored old behavior (whereby cp -r preserves symlinks) in 4.1.6,
# though now such usage evokes a warning: # though now such usage evokes a warning:
# cp: `slink': WARNING: using -r to copy symbolic links is not portable # cp: `slink': WARNING: using -r to copy symbolic links is not portable

View File

@@ -2,6 +2,24 @@
# Test some of cp's options and how cp handles situations in # Test some of cp's options and how cp handles situations in
# which a naive implementation might overwrite the source file. # which a naive implementation might overwrite the source file.
# Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2006 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# `test cp --update A B' where A and B are both symlinks that point # `test cp --update A B' where A and B are both symlinks that point
# to the same file # to the same file
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

View File

@@ -2,6 +2,23 @@
# make sure `cp -p' preserves special bits # make sure `cp -p' preserves special bits
# This works only when run as root. # This works only when run as root.
# Copyright (C) 2000, 2001, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# This test would fail due to a bug introduced in 4.0y. # This test would fail due to a bug introduced in 4.0y.
# The bug was fixed in 4.0z. # The bug was fixed in 4.0z.

View File

@@ -2,6 +2,23 @@
# Make sure that cp -dR dereferences a symlink arg if its name is # Make sure that cp -dR dereferences a symlink arg if its name is
# written with a trailing slash. # written with a trailing slash.
# Copyright (C) 2000, 2002, 2004 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 Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
if test "$VERBOSE" = yes; then if test "$VERBOSE" = yes; then
set -x set -x
cp --version cp --version

Some files were not shown because too many files have changed in this diff Show More