diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 13:57:26 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 13:57:26 +1000 |
commit | 0c9d2455301ed633826e222aacd930126990913e (patch) | |
tree | 2353a480f55dfa41d9e6d2fa328af1b60dd3653e /coreutils | |
parent | e8db4fe96b3a68b6f971d88084ef2fd2c8513e78 (diff) | |
parent | 9dc04124d5a3f0c9be249287817a964691e187b0 (diff) | |
download | busybox-w32-0c9d2455301ed633826e222aacd930126990913e.tar.gz busybox-w32-0c9d2455301ed633826e222aacd930126990913e.tar.bz2 busybox-w32-0c9d2455301ed633826e222aacd930126990913e.zip |
Merge branch 'origin/master' (early part)
Diffstat (limited to 'coreutils')
77 files changed, 161 insertions, 94 deletions
diff --git a/coreutils/Kbuild.src b/coreutils/Kbuild.src index 1c846a75f..630b048df 100644 --- a/coreutils/Kbuild.src +++ b/coreutils/Kbuild.src | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
4 | # | 4 | # |
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | 5 | # Licensed under GPLv2, see file LICENSE in this source tree. |
6 | 6 | ||
7 | libs-y += libcoreutils/ | 7 | libs-y += libcoreutils/ |
8 | 8 | ||
diff --git a/coreutils/basename.c b/coreutils/basename.c index b79d561c2..d44124741 100644 --- a/coreutils/basename.c +++ b/coreutils/basename.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | 10 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) |
diff --git a/coreutils/cal.c b/coreutils/cal.c index c98229cb0..ef5dbeadb 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * See original copyright at the end of this file | 5 | * See original copyright at the end of this file |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant with -j and -y extensions (from util-linux). */ | 10 | /* BB_AUDIT SUSv3 compliant with -j and -y extensions (from util-linux). */ |
diff --git a/coreutils/cat.c b/coreutils/cat.c index 454c46b68..922549828 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/catv.c b/coreutils/catv.c index ff3139c80..f92d93d24 100644 --- a/coreutils/catv.c +++ b/coreutils/catv.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2006 Rob Landley <rob@landley.net> | 5 | * Copyright (C) 2006 Rob Landley <rob@landley.net> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* See "Cat -v considered harmful" at | 10 | /* See "Cat -v considered harmful" at |
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 7f3904805..58f78e736 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 defects - none? */ | 10 | /* BB_AUDIT SUSv3 defects - none? */ |
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index c04201eec..f07a49bd3 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Reworked by (C) 2002 Vladimir Oleynik <dzo@simtreas.ru> | 7 | * Reworked by (C) 2002 Vladimir Oleynik <dzo@simtreas.ru> |
8 | * to correctly parse '-rwxgoa' | 8 | * to correctly parse '-rwxgoa' |
9 | * | 9 | * |
10 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /* BB_AUDIT SUSv3 compliant */ | 13 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/chown.c b/coreutils/chown.c index 717e4b17a..282deccfb 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 defects - none? */ | 10 | /* BB_AUDIT SUSv3 defects - none? */ |
diff --git a/coreutils/chroot.c b/coreutils/chroot.c index 046c2fabf..b80a12ee0 100644 --- a/coreutils/chroot.c +++ b/coreutils/chroot.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |
diff --git a/coreutils/cksum.c b/coreutils/cksum.c index 8e65b1ca3..8e7800ee9 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2006 by Rob Sullivan, with ideas from code by Walter Harms | 5 | * Copyright (C) 2006 by Rob Sullivan, with ideas from code by Walter Harms |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
diff --git a/coreutils/comm.c b/coreutils/comm.c index 221cbfbcc..c04da1896 100644 --- a/coreutils/comm.c +++ b/coreutils/comm.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2005 by Robert Sullivan <cogito.ergo.cogito@gmail.com> | 5 | * Copyright (C) 2005 by Robert Sullivan <cogito.ergo.cogito@gmail.com> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
diff --git a/coreutils/cp.c b/coreutils/cp.c index d7c8d91cc..ab17b39a6 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 2000 by Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2000 by Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * SELinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> | 6 | * SELinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> |
7 | * | 7 | * |
8 | * Licensed under GPL v2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */ | 11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */ |
diff --git a/coreutils/cut.c b/coreutils/cut.c index b7a3cfabb..38cd32c77 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Written by Mark Whitley <markw@codepoet.org> | 6 | * Written by Mark Whitley <markw@codepoet.org> |
7 | * debloated by Bernhard Reutner-Fischer | 7 | * debloated by Bernhard Reutner-Fischer |
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "libbb.h" | 12 | #include "libbb.h" |
diff --git a/coreutils/date.c b/coreutils/date.c index 3ce352c8d..c9dfedf81 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * iso-format handling added by Robert Griebl <griebl@gmx.de> | 7 | * iso-format handling added by Robert Griebl <griebl@gmx.de> |
8 | * bugfixes and cleanup by Bernhard Reutner-Fischer | 8 | * bugfixes and cleanup by Bernhard Reutner-Fischer |
9 | * | 9 | * |
10 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /* This 'date' command supports only 2 time setting formats, | 13 | /* This 'date' command supports only 2 time setting formats, |
diff --git a/coreutils/dd.c b/coreutils/dd.c index eb9f8885f..c22a39da7 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Copyright (C) 2000,2001 Matt Kraai | 6 | * Copyright (C) 2000,2001 Matt Kraai |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
diff --git a/coreutils/df.c b/coreutils/df.c index 5eeb5b476..af9b77b23 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * based on original code by (I think) Bruce Perens <bruce@pixar.com>. | 6 | * based on original code by (I think) Bruce Perens <bruce@pixar.com>. |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* BB_AUDIT SUSv3 _NOT_ compliant -- option -t missing. */ | 11 | /* BB_AUDIT SUSv3 _NOT_ compliant -- option -t missing. */ |
diff --git a/coreutils/dirname.c b/coreutils/dirname.c index 94c22a7ee..246946ed0 100644 --- a/coreutils/dirname.c +++ b/coreutils/dirname.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 98eaec172..ef1ea4328 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * | 9 | * |
10 | * dos2unix filters reading input from stdin and writing output to stdout. | 10 | * dos2unix filters reading input from stdin and writing output to stdout. |
11 | * | 11 | * |
12 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 12 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "libbb.h" | 15 | #include "libbb.h" |
diff --git a/coreutils/du.c b/coreutils/du.c index 5894ed438..cc3c78433 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (C) 1999,2000,2001 by John Beppu <beppu@codepoet.org> | 6 | * Copyright (C) 1999,2000,2001 by John Beppu <beppu@codepoet.org> |
7 | * Copyright (C) 2002 Edward Betts <edward@debian.org> | 7 | * Copyright (C) 2002 Edward Betts <edward@debian.org> |
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /* BB_AUDIT SUSv3 compliant (unless default blocksize set to 1k) */ | 12 | /* BB_AUDIT SUSv3 compliant (unless default blocksize set to 1k) */ |
diff --git a/coreutils/echo.c b/coreutils/echo.c index 69039969b..3821e594e 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (c) 1991, 1993 | 5 | * Copyright (c) 1991, 1993 |
6 | * The Regents of the University of California. All rights reserved. | 6 | * The Regents of the University of California. All rights reserved. |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | * | 9 | * |
10 | * Original copyright notice is retained at the end of this file. | 10 | * Original copyright notice is retained at the end of this file. |
11 | */ | 11 | */ |
diff --git a/coreutils/env.c b/coreutils/env.c index d4eab191b..f50ee7869 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (c) 1988, 1993, 1994 | 5 | * Copyright (c) 1988, 1993, 1994 |
6 | * The Regents of the University of California. All rights reserved. | 6 | * The Regents of the University of California. All rights reserved. |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | * | 9 | * |
10 | * Original copyright notice is retained at the end of this file. | 10 | * Original copyright notice is retained at the end of this file. |
11 | * | 11 | * |
diff --git a/coreutils/expand.c b/coreutils/expand.c index b874b6ad4..7491b717a 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 89, 91, 1995-2006 Free Software Foundation, Inc. | 4 | * Copyright (C) 89, 91, 1995-2006 Free Software Foundation, Inc. |
5 | * | 5 | * |
6 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | * | 7 | * |
8 | * David MacKenzie <djm@gnu.ai.mit.edu> | 8 | * David MacKenzie <djm@gnu.ai.mit.edu> |
9 | * | 9 | * |
diff --git a/coreutils/expr.c b/coreutils/expr.c index 8988340f1..04d783f2b 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
@@ -11,7 +11,7 @@ | |||
11 | * - reduced 464 bytes. | 11 | * - reduced 464 bytes. |
12 | * - 64 math support | 12 | * - 64 math support |
13 | * | 13 | * |
14 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 14 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | /* This program evaluates expressions. Each token (operator, operand, | 17 | /* This program evaluates expressions. Each token (operator, operand, |
diff --git a/coreutils/false.c b/coreutils/false.c index f448ebf72..033d2bff4 100644 --- a/coreutils/false.c +++ b/coreutils/false.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/fold.c b/coreutils/fold.c index cbea31fad..54f1aa2ac 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c | |||
@@ -7,7 +7,7 @@ | |||
7 | Modified for busybox based on coreutils v 5.0 | 7 | Modified for busybox based on coreutils v 5.0 |
8 | Copyright (C) 2003 Glenn McGrath | 8 | Copyright (C) 2003 Glenn McGrath |
9 | 9 | ||
10 | Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 10 | Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | #include "libbb.h" | 12 | #include "libbb.h" |
13 | #include "unicode.h" | 13 | #include "unicode.h" |
diff --git a/coreutils/fsync.c b/coreutils/fsync.c index 53900f8d2..d1fe2b584 100644 --- a/coreutils/fsync.c +++ b/coreutils/fsync.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2008 Nokia Corporation. All rights reserved. | 5 | * Copyright (C) 2008 Nokia Corporation. All rights reserved. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | #ifndef O_NOATIME | 10 | #ifndef O_NOATIME |
diff --git a/coreutils/head.c b/coreutils/head.c index cc2837411..0845b4375 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/hostid.c b/coreutils/hostid.c index a537e3ad6..635e48e12 100644 --- a/coreutils/hostid.c +++ b/coreutils/hostid.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. | 5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |
diff --git a/coreutils/id.c b/coreutils/id.c index ec9227d06..56286f4d4 100644 --- a/coreutils/id.c +++ b/coreutils/id.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 2000 by Randolph Chung <tausq@debian.org> | 5 | * Copyright (C) 2000 by Randolph Chung <tausq@debian.org> |
6 | * Copyright (C) 2008 by Tito Ragusa <farmatito@tiscali.it> | 6 | * Copyright (C) 2008 by Tito Ragusa <farmatito@tiscali.it> |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* BB_AUDIT SUSv3 compliant. */ | 11 | /* BB_AUDIT SUSv3 compliant. */ |
diff --git a/coreutils/install.c b/coreutils/install.c index ab9feffaf..9dc90d641 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * Copyright (C) 2003 by Glenn McGrath | 3 | * Copyright (C) 2003 by Glenn McGrath |
4 | * SELinux support: by Yuichi Nakamura <ynakam@hitachisoft.jp> | 4 | * SELinux support: by Yuichi Nakamura <ynakam@hitachisoft.jp> |
5 | * | 5 | * |
6 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
diff --git a/coreutils/length.c b/coreutils/length.c index 015b2216f..7f0b48ccd 100644 --- a/coreutils/length.c +++ b/coreutils/length.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 3 | * Licensed under GPLv2, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox (obsolete?) extension. */ | 6 | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox (obsolete?) extension. */ |
diff --git a/coreutils/libcoreutils/Kbuild.src b/coreutils/libcoreutils/Kbuild.src index 981b60628..2042d5f84 100644 --- a/coreutils/libcoreutils/Kbuild.src +++ b/coreutils/libcoreutils/Kbuild.src | |||
@@ -2,7 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
4 | # | 4 | # |
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 5 | # Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | 6 | ||
7 | lib-y:= | 7 | lib-y:= |
8 | 8 | ||
diff --git a/coreutils/libcoreutils/coreutils.h b/coreutils/libcoreutils/coreutils.h index 99b67b14d..307d0330a 100644 --- a/coreutils/libcoreutils/coreutils.h +++ b/coreutils/libcoreutils/coreutils.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef COREUTILS_H | 6 | #ifndef COREUTILS_H |
diff --git a/coreutils/ln.c b/coreutils/ln.c index f977aa177..ddad120d1 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/logname.c b/coreutils/logname.c index 8357b9a33..62f453f2f 100644 --- a/coreutils/logname.c +++ b/coreutils/logname.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. | 5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/ls.c b/coreutils/ls.c index 279d30c69..ab66b42c1 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * tiny-ls.c version 0.1.0: A minimalist 'ls' | 3 | * tiny-ls.c version 0.1.0: A minimalist 'ls' |
4 | * Copyright (C) 1996 Brian Candler <B.Candler@pobox.com> | 4 | * Copyright (C) 1996 Brian Candler <B.Candler@pobox.com> |
5 | * | 5 | * |
6 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | /* [date unknown. Perhaps before year 2000] | 9 | /* [date unknown. Perhaps before year 2000] |
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 3d50bb0f5..646f8bd10 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * Copyright (C) 2003 Glenn L. McGrath | 3 | * Copyright (C) 2003 Glenn L. McGrath |
4 | * Copyright (C) 2003-2004 Erik Andersen | 4 | * Copyright (C) 2003-2004 Erik Andersen |
5 | * | 5 | * |
6 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index c837e9726..0de0d5c3b 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c index 65494609c..41aedd099 100644 --- a/coreutils/mkfifo.c +++ b/coreutils/mkfifo.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/mknod.c b/coreutils/mknod.c index 0c694948e..0e5542dde 100644 --- a/coreutils/mknod.c +++ b/coreutils/mknod.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |
diff --git a/coreutils/mv.c b/coreutils/mv.c index 1c5a46792..7f49d5bab 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 2000 by Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2000 by Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * SELinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> | 6 | * SELinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | 11 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) |
diff --git a/coreutils/nice.c b/coreutils/nice.c index ff3eb1140..6b8fce24d 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2005 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2005 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <sys/resource.h> | 10 | #include <sys/resource.h> |
diff --git a/coreutils/nohup.c b/coreutils/nohup.c index 3dc531409..c21aae9f5 100644 --- a/coreutils/nohup.c +++ b/coreutils/nohup.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Copyright 2006 Rob Landley <rob@landley.net> | 7 | * Copyright 2006 Rob Landley <rob@landley.net> |
8 | * Copyright 2006 Bernhard Reutner-Fischer | 8 | * Copyright 2006 Bernhard Reutner-Fischer |
9 | * | 9 | * |
10 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "libbb.h" | 13 | #include "libbb.h" |
diff --git a/coreutils/od.c b/coreutils/od.c index 228db19ac..30b5bd676 100644 --- a/coreutils/od.c +++ b/coreutils/od.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (c) 1990 | 6 | * Copyright (c) 1990 |
7 | * The Regents of the University of California. All rights reserved. | 7 | * The Regents of the University of California. All rights reserved. |
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | * | 10 | * |
11 | * Original copyright notice is retained at the end of this file. | 11 | * Original copyright notice is retained at the end of this file. |
12 | */ | 12 | */ |
diff --git a/coreutils/printenv.c b/coreutils/printenv.c index 2430f3a1a..d38f8fb5f 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org> |
6 | * Copyright (C) 2005 by Mike Frysinger <vapier@gentoo.org> | 6 | * Copyright (C) 2005 by Mike Frysinger <vapier@gentoo.org> |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
diff --git a/coreutils/printf.c b/coreutils/printf.c index eb53fa490..2cc238439 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c | |||
@@ -4,7 +4,7 @@ | |||
4 | Copyright 1999 Dave Cinege | 4 | Copyright 1999 Dave Cinege |
5 | Portions copyright (C) 1990-1996 Free Software Foundation, Inc. | 5 | Portions copyright (C) 1990-1996 Free Software Foundation, Inc. |
6 | 6 | ||
7 | Licensed under GPL v2 or later, see file LICENSE in this tarball for details. | 7 | Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* Usage: printf format [argument...] | 10 | /* Usage: printf format [argument...] |
@@ -66,7 +66,7 @@ static int multiconvert(const char *arg, void *result, converter convert) | |||
66 | errno = 0; | 66 | errno = 0; |
67 | convert(arg, result); | 67 | convert(arg, result); |
68 | if (errno) { | 68 | if (errno) { |
69 | bb_error_msg("%s: invalid number", arg); | 69 | bb_error_msg("invalid number '%s'", arg); |
70 | return 1; | 70 | return 1; |
71 | } | 71 | } |
72 | return 0; | 72 | return 0; |
@@ -230,7 +230,7 @@ static int get_width_prec(const char *str) | |||
230 | { | 230 | { |
231 | int v = bb_strtoi(str, NULL, 10); | 231 | int v = bb_strtoi(str, NULL, 10); |
232 | if (errno) { | 232 | if (errno) { |
233 | bb_error_msg("%s: invalid number", str); | 233 | bb_error_msg("invalid number '%s'", str); |
234 | v = 0; | 234 | v = 0; |
235 | } | 235 | } |
236 | return v; | 236 | return v; |
diff --git a/coreutils/pwd.c b/coreutils/pwd.c index 11278a2a5..2949c55c2 100644 --- a/coreutils/pwd.c +++ b/coreutils/pwd.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>. | 5 | * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
diff --git a/coreutils/readlink.c b/coreutils/readlink.c index 2ed5e2cac..87602fbc6 100644 --- a/coreutils/readlink.c +++ b/coreutils/readlink.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2000,2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2000,2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * | 6 | * |
7 | * Licensed under GPL v2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
diff --git a/coreutils/realpath.c b/coreutils/realpath.c index 3bc40ee04..5933062b8 100644 --- a/coreutils/realpath.c +++ b/coreutils/realpath.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Now does proper error checking on output and returns a failure exit code | 7 | * Now does proper error checking on output and returns a failure exit code |
8 | * if one or more paths cannot be resolved. | 8 | * if one or more paths cannot be resolved. |
9 | * | 9 | * |
10 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 10 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include "libbb.h" | 13 | #include "libbb.h" |
diff --git a/coreutils/rm.c b/coreutils/rm.c index 3090cc323..69c473ddb 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2001 Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c index 2450a43a3..75bfc2813 100644 --- a/coreutils/rmdir.c +++ b/coreutils/rmdir.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/seq.c b/coreutils/seq.c index 84d11fd8c..8be25360f 100644 --- a/coreutils/seq.c +++ b/coreutils/seq.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2004, Glenn McGrath | 5 | * Copyright (C) 2004, Glenn McGrath |
6 | * | 6 | * |
7 | * Licensed under the GPL v2, see the file LICENSE in this tarball. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
diff --git a/coreutils/sleep.c b/coreutils/sleep.c index 399a38dd4..b983df47e 100644 --- a/coreutils/sleep.c +++ b/coreutils/sleep.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/sort.c b/coreutils/sort.c index 5c3fa1a71..4407b7105 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * | 6 | * |
7 | * MAINTAINER: Rob Landley <rob@landley.net> | 7 | * MAINTAINER: Rob Landley <rob@landley.net> |
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | * | 10 | * |
11 | * See SuS3 sort standard at: | 11 | * See SuS3 sort standard at: |
12 | * http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html | 12 | * http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html |
diff --git a/coreutils/split.c b/coreutils/split.c index c2f388501..db5a1727a 100644 --- a/coreutils/split.c +++ b/coreutils/split.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * split - split a file into pieces | 3 | * split - split a file into pieces |
4 | * Copyright (c) 2007 Bernhard Reutner-Fischer | 4 | * Copyright (c) 2007 Bernhard Reutner-Fischer |
5 | * | 5 | * |
6 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | /* BB_AUDIT: SUSv3 compliant | 8 | /* BB_AUDIT: SUSv3 compliant |
9 | * SUSv3 requirements: | 9 | * SUSv3 requirements: |
@@ -82,9 +82,7 @@ int split_main(int argc UNUSED_PARAM, char **argv) | |||
82 | int fd; | 82 | int fd; |
83 | if (argv[1]) | 83 | if (argv[1]) |
84 | sfx = argv[1]; | 84 | sfx = argv[1]; |
85 | fd = open_or_warn_stdin(argv[0]); | 85 | fd = xopen_stdin(argv[0]); |
86 | if (fd == -1) | ||
87 | return EXIT_FAILURE; | ||
88 | xmove_fd(fd, STDIN_FILENO); | 86 | xmove_fd(fd, STDIN_FILENO); |
89 | } else { | 87 | } else { |
90 | argv[0] = (char *) bb_msg_standard_input; | 88 | argv[0] = (char *) bb_msg_standard_input; |
diff --git a/coreutils/stat.c b/coreutils/stat.c index e7c24e642..777197292 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * Written by Michael Meskes | 10 | * Written by Michael Meskes |
11 | * Taken from coreutils and turned into a busybox applet by Mike Frysinger | 11 | * Taken from coreutils and turned into a busybox applet by Mike Frysinger |
12 | * | 12 | * |
13 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 13 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
14 | */ | 14 | */ |
15 | #include "libbb.h" | 15 | #include "libbb.h" |
16 | 16 | ||
diff --git a/coreutils/stty.c b/coreutils/stty.c index 33f7b21dd..0cb4fb234 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -2,7 +2,7 @@ | |||
2 | /* stty -- change and print terminal line settings | 2 | /* stty -- change and print terminal line settings |
3 | Copyright (C) 1990-1999 Free Software Foundation, Inc. | 3 | Copyright (C) 1990-1999 Free Software Foundation, Inc. |
4 | 4 | ||
5 | Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 5 | Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | /* Usage: stty [-ag] [-F device] [setting...] | 7 | /* Usage: stty [-ag] [-F device] [setting...] |
8 | 8 | ||
diff --git a/coreutils/sum.c b/coreutils/sum.c index 35e89a6a3..e087fb85b 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * Written by Kayvan Aghaiepour and David MacKenzie | 10 | * Written by Kayvan Aghaiepour and David MacKenzie |
11 | * Taken from coreutils and turned into a busybox applet by Mike Frysinger | 11 | * Taken from coreutils and turned into a busybox applet by Mike Frysinger |
12 | * | 12 | * |
13 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 13 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "libbb.h" | 16 | #include "libbb.h" |
diff --git a/coreutils/sync.c b/coreutils/sync.c index 59305c677..bb112ea38 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>. | 5 | * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |
diff --git a/coreutils/tac.c b/coreutils/tac.c index b8db8eaba..ab3e66ac2 100644 --- a/coreutils/tac.c +++ b/coreutils/tac.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> | 6 | * Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> |
7 | * Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it> | 7 | * Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it> |
8 | * | 8 | * |
9 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 9 | * Licensed under GPLv2, see file LICENSE in this source tree. |
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/coreutils/tail.c b/coreutils/tail.c index 6397702a0..44698f304 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2001 by Matt Kraai <kraai@alumni.carnegiemellon.edu> | 5 | * Copyright (C) 2001 by Matt Kraai <kraai@alumni.carnegiemellon.edu> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant (need fancy for -c) */ | 10 | /* BB_AUDIT SUSv3 compliant (need fancy for -c) */ |
diff --git a/coreutils/tee.c b/coreutils/tee.c index 0f2424670..8db9042aa 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/test.c b/coreutils/test.c index fb5778760..1952337b3 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * in busybox. | 14 | * in busybox. |
15 | * modified by Bernhard Reutner-Fischer to be useable (i.e. a bit less bloaty). | 15 | * modified by Bernhard Reutner-Fischer to be useable (i.e. a bit less bloaty). |
16 | * | 16 | * |
17 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 17 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
18 | * | 18 | * |
19 | * Original copyright notice states: | 19 | * Original copyright notice states: |
20 | * "This program is in the Public Domain." | 20 | * "This program is in the Public Domain." |
diff --git a/coreutils/test_ptr_hack.c b/coreutils/test_ptr_hack.c index a05203d68..5ba9dcc68 100644 --- a/coreutils/test_ptr_hack.c +++ b/coreutils/test_ptr_hack.c | |||
@@ -2,7 +2,7 @@ | |||
2 | /* | 2 | /* |
3 | * Copyright (C) 2008 by Denys Vlasenko <vda.linux@googlemail.com> | 3 | * Copyright (C) 2008 by Denys Vlasenko <vda.linux@googlemail.com> |
4 | * | 4 | * |
5 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 5 | * Licensed under GPLv2, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | struct test_statics; | 8 | struct test_statics; |
diff --git a/coreutils/touch.c b/coreutils/touch.c index dceb7c1cc..03aac3aa2 100644 --- a/coreutils/touch.c +++ b/coreutils/touch.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 _NOT_ compliant -- options -a, -m, -r, -t not supported. */ | 10 | /* BB_AUDIT SUSv3 _NOT_ compliant -- options -a, -m, -r, -t not supported. */ |
diff --git a/coreutils/tr.c b/coreutils/tr.c index f3db3793f..d6bc7d20a 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * This version of tr is adapted from Minix tr and was modified | 13 | * This version of tr is adapted from Minix tr and was modified |
14 | * by Erik Andersen <andersen@codepoet.org> to be used in busybox. | 14 | * by Erik Andersen <andersen@codepoet.org> to be used in busybox. |
15 | * | 15 | * |
16 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 16 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
17 | */ | 17 | */ |
18 | /* http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html | 18 | /* http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html |
19 | * TODO: graph, print | 19 | * TODO: graph, print |
diff --git a/coreutils/true.c b/coreutils/true.c index 8a7e6ae9e..0a862ef18 100644 --- a/coreutils/true.c +++ b/coreutils/true.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/tty.c b/coreutils/tty.c index 69352ecf8..489181319 100644 --- a/coreutils/tty.c +++ b/coreutils/tty.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv4 compliant */ | 10 | /* BB_AUDIT SUSv4 compliant */ |
diff --git a/coreutils/uname.c b/coreutils/uname.c index 9822e49bd..d1c50e222 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c | |||
@@ -2,7 +2,7 @@ | |||
2 | /* uname -- print system information | 2 | /* uname -- print system information |
3 | * Copyright (C) 1989-1999 Free Software Foundation, Inc. | 3 | * Copyright (C) 1989-1999 Free Software Foundation, Inc. |
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | /* BB_AUDIT SUSv3 compliant */ | 8 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/uniq.c b/coreutils/uniq.c index e566dc1bc..f0364b9a1 100644 --- a/coreutils/uniq.c +++ b/coreutils/uniq.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2005 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2005 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
diff --git a/coreutils/usleep.c b/coreutils/usleep.c index e7acd5f82..cb4ec5898 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox extension. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox extension. */ |
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 0298a4bdb..207fb0b8d 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -1,19 +1,18 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * Copyright 2003, Glenn McGrath | 3 | * Copyright 2003, Glenn McGrath |
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | * | 6 | * |
7 | * Based on specification from | 7 | * Based on specification from |
8 | * http://www.opengroup.org/onlinepubs/007904975/utilities/uuencode.html | 8 | * http://www.opengroup.org/onlinepubs/007904975/utilities/uuencode.html |
9 | * | 9 | * |
10 | * Bugs: the spec doesn't mention anything about "`\n`\n" prior to the | 10 | * Bugs: the spec doesn't mention anything about "`\n`\n" prior to the |
11 | * "end" line | 11 | * "end" line |
12 | */ | 12 | */ |
13 | |||
14 | |||
15 | #include "libbb.h" | 13 | #include "libbb.h" |
16 | 14 | ||
15 | #if ENABLE_UUDECODE | ||
17 | static void read_stduu(FILE *src_stream, FILE *dst_stream) | 16 | static void read_stduu(FILE *src_stream, FILE *dst_stream) |
18 | { | 17 | { |
19 | char *line; | 18 | char *line; |
@@ -74,13 +73,14 @@ static void read_stduu(FILE *src_stream, FILE *dst_stream) | |||
74 | } | 73 | } |
75 | bb_error_msg_and_die("short file"); | 74 | bb_error_msg_and_die("short file"); |
76 | } | 75 | } |
76 | #endif | ||
77 | 77 | ||
78 | static void read_base64(FILE *src_stream, FILE *dst_stream) | 78 | static void read_base64(FILE *src_stream, FILE *dst_stream) |
79 | { | 79 | { |
80 | int term_count = 1; | 80 | int term_count = 1; |
81 | 81 | ||
82 | while (1) { | 82 | while (1) { |
83 | char translated[4]; | 83 | unsigned char translated[4]; |
84 | int count = 0; | 84 | int count = 0; |
85 | 85 | ||
86 | while (count < 4) { | 86 | while (count < 4) { |
@@ -94,6 +94,12 @@ static void read_base64(FILE *src_stream, FILE *dst_stream) | |||
94 | do { | 94 | do { |
95 | ch = fgetc(src_stream); | 95 | ch = fgetc(src_stream); |
96 | if (ch == EOF) { | 96 | if (ch == EOF) { |
97 | if (ENABLE_BASE64 | ||
98 | && (!ENABLE_UUDECODE || applet_name[0] == 'b') | ||
99 | && count == 0 | ||
100 | ) { | ||
101 | return; | ||
102 | } | ||
97 | bb_error_msg_and_die("short file"); | 103 | bb_error_msg_and_die("short file"); |
98 | } | 104 | } |
99 | table_ptr = strchr(bb_uuenc_tbl_base64, ch); | 105 | table_ptr = strchr(bb_uuenc_tbl_base64, ch); |
@@ -135,6 +141,7 @@ static void read_base64(FILE *src_stream, FILE *dst_stream) | |||
135 | } | 141 | } |
136 | } | 142 | } |
137 | 143 | ||
144 | #if ENABLE_UUDECODE | ||
138 | int uudecode_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 145 | int uudecode_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
139 | int uudecode_main(int argc UNUSED_PARAM, char **argv) | 146 | int uudecode_main(int argc UNUSED_PARAM, char **argv) |
140 | { | 147 | { |
@@ -146,9 +153,9 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
146 | getopt32(argv, "o:", &outname); | 153 | getopt32(argv, "o:", &outname); |
147 | argv += optind; | 154 | argv += optind; |
148 | 155 | ||
149 | if (!*argv) | 156 | if (!argv[0]) |
150 | *--argv = (char*)"-"; | 157 | *--argv = (char*)"-"; |
151 | src_stream = xfopen_stdin(*argv); | 158 | src_stream = xfopen_stdin(argv[0]); |
152 | 159 | ||
153 | /* Search for the start of the encoding */ | 160 | /* Search for the start of the encoding */ |
154 | while ((line = xmalloc_fgetline(src_stream)) != NULL) { | 161 | while ((line = xmalloc_fgetline(src_stream)) != NULL) { |
@@ -189,6 +196,68 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
189 | } | 196 | } |
190 | bb_error_msg_and_die("no 'begin' line"); | 197 | bb_error_msg_and_die("no 'begin' line"); |
191 | } | 198 | } |
199 | #endif | ||
200 | |||
201 | //applet:IF_BASE64(APPLET(base64, _BB_DIR_BIN, _BB_SUID_DROP)) | ||
202 | |||
203 | //kbuild:lib-$(CONFIG_BASE64) += uudecode.o | ||
204 | |||
205 | //config:config BASE64 | ||
206 | //config: bool "base64" | ||
207 | //config: default y | ||
208 | //config: help | ||
209 | //config: Base64 encode and decode | ||
210 | |||
211 | //usage:#define base64_trivial_usage | ||
212 | //usage: "[-d] [FILE]" | ||
213 | //usage:#define base64_full_usage "\n\n" | ||
214 | //usage: "Base64 encode or decode FILE to standard output" | ||
215 | //usage: "\nOptions:" | ||
216 | //usage: "\n -d Decode data" | ||
217 | ////usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)" | ||
218 | ////usage: "\n -i When decoding, ignore non-alphabet characters" | ||
219 | |||
220 | #if ENABLE_BASE64 | ||
221 | int base64_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | ||
222 | int base64_main(int argc UNUSED_PARAM, char **argv) | ||
223 | { | ||
224 | FILE *src_stream; | ||
225 | unsigned opts; | ||
226 | |||
227 | opt_complementary = "?1"; /* 1 argument max */ | ||
228 | opts = getopt32(argv, "d"); | ||
229 | argv += optind; | ||
230 | |||
231 | if (!argv[0]) | ||
232 | *--argv = (char*)"-"; | ||
233 | src_stream = xfopen_stdin(argv[0]); | ||
234 | if (opts) { | ||
235 | read_base64(src_stream, stdout); | ||
236 | } else { | ||
237 | enum { | ||
238 | SRC_BUF_SIZE = 76/4*3, /* This *MUST* be a multiple of 3 */ | ||
239 | DST_BUF_SIZE = 4 * ((SRC_BUF_SIZE + 2) / 3), | ||
240 | }; | ||
241 | char src_buf[SRC_BUF_SIZE]; | ||
242 | char dst_buf[DST_BUF_SIZE + 1]; | ||
243 | int src_fd = fileno(src_stream); | ||
244 | while (1) { | ||
245 | size_t size = full_read(src_fd, src_buf, SRC_BUF_SIZE); | ||
246 | if (!size) | ||
247 | break; | ||
248 | if ((ssize_t)size < 0) | ||
249 | bb_perror_msg_and_die(bb_msg_read_error); | ||
250 | /* Encode the buffer we just read in */ | ||
251 | bb_uuencode(dst_buf, src_buf, size, bb_uuenc_tbl_base64); | ||
252 | xwrite(STDOUT_FILENO, dst_buf, 4 * ((size + 2) / 3)); | ||
253 | bb_putchar('\n'); | ||
254 | fflush(stdout); | ||
255 | } | ||
256 | } | ||
257 | |||
258 | fflush_stdout_and_exit(EXIT_SUCCESS); | ||
259 | } | ||
260 | #endif | ||
192 | 261 | ||
193 | /* Test script. | 262 | /* Test script. |
194 | Put this into an empty dir with busybox binary, an run. | 263 | Put this into an empty dir with busybox binary, an run. |
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index bf661851d..fe9e8c664 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -5,13 +5,13 @@ | |||
5 | * based on the function base64_encode from http.c in wget v1.6 | 5 | * based on the function base64_encode from http.c in wget v1.6 |
6 | * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. | 6 | * Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. |
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
12 | 12 | ||
13 | enum { | 13 | enum { |
14 | SRC_BUF_SIZE = 45, /* This *MUST* be a multiple of 3 */ | 14 | SRC_BUF_SIZE = 15*3, /* This *MUST* be a multiple of 3 */ |
15 | DST_BUF_SIZE = 4 * ((SRC_BUF_SIZE + 2) / 3), | 15 | DST_BUF_SIZE = 4 * ((SRC_BUF_SIZE + 2) / 3), |
16 | }; | 16 | }; |
17 | 17 | ||
@@ -33,7 +33,7 @@ int uuencode_main(int argc UNUSED_PARAM, char **argv) | |||
33 | } | 33 | } |
34 | argv += optind; | 34 | argv += optind; |
35 | if (argv[1]) { | 35 | if (argv[1]) { |
36 | src_fd = xopen(*argv, O_RDONLY); | 36 | src_fd = xopen(argv[0], O_RDONLY); |
37 | fstat(src_fd, &stat_buf); | 37 | fstat(src_fd, &stat_buf); |
38 | mode = stat_buf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); | 38 | mode = stat_buf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); |
39 | argv++; | 39 | argv++; |
diff --git a/coreutils/wc.c b/coreutils/wc.c index 711684225..4f14374c3 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 _NOT_ compliant -- option -m is not currently supported. */ | 10 | /* BB_AUDIT SUSv3 _NOT_ compliant -- option -m is not currently supported. */ |
diff --git a/coreutils/who.c b/coreutils/who.c index 2b4331025..8384d9534 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * | 12 | * |
13 | * Copyright (c) 2002 AYR Networks, Inc. | 13 | * Copyright (c) 2002 AYR Networks, Inc. |
14 | * | 14 | * |
15 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 15 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
16 | * | 16 | * |
17 | *---------------------------------------------------------------------- | 17 | *---------------------------------------------------------------------- |
18 | */ | 18 | */ |
diff --git a/coreutils/whoami.c b/coreutils/whoami.c index 22d722ec7..78d20db14 100644 --- a/coreutils/whoami.c +++ b/coreutils/whoami.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. | 5 | * Copyright (C) 2000 Edward Betts <edward@debian.org>. |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |
diff --git a/coreutils/yes.c b/coreutils/yes.c index ead674b27..5d799f09b 100644 --- a/coreutils/yes.c +++ b/coreutils/yes.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> | 5 | * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ | 10 | /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */ |