platform/upstream/coreutils.git
18 years agoMake `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.
Jim Meyering [Sun, 5 Mar 2006 11:20:53 +0000 (11:20 +0000)]
Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.

(wrap_write, do_encode, main): Change type of
parameters and locals, wrap_column, form size_t to uintmax_t.
(main): Adjust to use xstrtoumax, accordingly.

18 years agoadd warning comment
Jim Meyering [Fri, 3 Mar 2006 07:49:39 +0000 (07:49 +0000)]
add warning comment

18 years ago*** empty log message ***
Jim Meyering [Fri, 3 Mar 2006 07:44:12 +0000 (07:44 +0000)]
*** empty log message ***

18 years agoDon't fail when run from an environment with SHELL not a Bourne
Jim Meyering [Fri, 3 Mar 2006 07:44:02 +0000 (07:44 +0000)]
Don't fail when run from an environment with SHELL not a Bourne
shell, e.g. `env SHELL=/bin/csh make check' would fail this test.

Invoke each non-failing test with -b.
Reported by Michael Stone.

18 years agoRequire gl_USE_SYSTEM_EXTENSIONS, not merely AC_GNU_SOURCE, for the
Paul Eggert [Thu, 2 Mar 2006 07:37:12 +0000 (07:37 +0000)]
Require gl_USE_SYSTEM_EXTENSIONS, not merely AC_GNU_SOURCE, for the
benefit of Solaris 10 when compiled pedantically.

18 years ago(gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==".
Paul Eggert [Thu, 2 Mar 2006 03:42:49 +0000 (03:42 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==".

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 14:40:58 +0000 (14:40 +0000)]
*** empty log message ***

18 years agoDerive --decode-using tests from the encode-based ones.
Jim Meyering [Mon, 27 Feb 2006 14:40:49 +0000 (14:40 +0000)]
Derive --decode-using tests from the encode-based ones.

18 years agoFactor out a long constant string.
Jim Meyering [Mon, 27 Feb 2006 13:46:09 +0000 (13:46 +0000)]
Factor out a long constant string.
Split lines to stay within 80 columns.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 13:40:16 +0000 (13:40 +0000)]
*** empty log message ***

18 years ago(TESTS): Add base64.
Jim Meyering [Mon, 27 Feb 2006 13:38:42 +0000 (13:38 +0000)]
(TESTS): Add base64.

18 years agoTest base64. From Simon Josefsson.
Jim Meyering [Mon, 27 Feb 2006 13:38:22 +0000 (13:38 +0000)]
Test base64.  From Simon Josefsson.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 13:31:17 +0000 (13:31 +0000)]
*** empty log message ***

18 years ago(do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/.
Jim Meyering [Mon, 27 Feb 2006 13:31:12 +0000 (13:31 +0000)]
(do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 11:06:29 +0000 (11:06 +0000)]
*** empty log message ***

18 years agoAdd src/base64.c.
Jim Meyering [Mon, 27 Feb 2006 11:06:27 +0000 (11:06 +0000)]
Add src/base64.c.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 11:03:31 +0000 (11:03 +0000)]
*** empty log message ***

18 years agobase64 comes first
Jim Meyering [Mon, 27 Feb 2006 11:03:12 +0000 (11:03 +0000)]
base64 comes first

18 years ago.
Jim Meyering [Mon, 27 Feb 2006 10:54:09 +0000 (10:54 +0000)]
.

18 years agoBuild base64.1.
Jim Meyering [Mon, 27 Feb 2006 10:53:49 +0000 (10:53 +0000)]
Build base64.1.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:52:48 +0000 (10:52 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:52:01 +0000 (10:52 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:51:36 +0000 (10:51 +0000)]
*** empty log message ***

18 years ago(libcoreutils_a_SOURCES): Add base64.h and base64.c.
Jim Meyering [Mon, 27 Feb 2006 10:49:40 +0000 (10:49 +0000)]
(libcoreutils_a_SOURCES): Add base64.h and base64.c.

18 years agoAdd base64 to the list.
Jim Meyering [Mon, 27 Feb 2006 10:48:35 +0000 (10:48 +0000)]
Add base64 to the list.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:48:04 +0000 (10:48 +0000)]
*** empty log message ***

18 years agomention new program: base64
Jim Meyering [Mon, 27 Feb 2006 10:47:56 +0000 (10:47 +0000)]
mention new program: base64

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:47:29 +0000 (10:47 +0000)]
*** empty log message ***

18 years agoAdd base64 section.
Jim Meyering [Mon, 27 Feb 2006 10:47:23 +0000 (10:47 +0000)]
Add base64 section.

18 years ago(bin_PROGRAMS): Add base64.
Jim Meyering [Mon, 27 Feb 2006 10:44:34 +0000 (10:44 +0000)]
(bin_PROGRAMS): Add base64.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:43:01 +0000 (10:43 +0000)]
*** empty log message ***

18 years ago(wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/.
Jim Meyering [Mon, 27 Feb 2006 10:42:36 +0000 (10:42 +0000)]
(wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/.

18 years agoDon't include .h files already included by system.h:
Jim Meyering [Mon, 27 Feb 2006 10:41:03 +0000 (10:41 +0000)]
Don't include .h files already included by system.h:
<string.h>, <stdlib.h>, <stdbool.h>, <limits.h>, <errno.h>.
Include "system.h" before the other lib/*.h header files.
Include <sys/types.h> before "system.h".
(wrap_write): Remove declaration of unused local, initial_column.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 10:35:37 +0000 (10:35 +0000)]
*** empty log message ***

18 years ago(NOT_AN_INODE_NUMBER, D_INO): Define (moved here from pwd.c).
Jim Meyering [Sun, 26 Feb 2006 10:03:17 +0000 (10:03 +0000)]
(NOT_AN_INODE_NUMBER, D_INO): Define (moved here from pwd.c).

18 years ago(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h
Jim Meyering [Sun, 26 Feb 2006 10:02:49 +0000 (10:02 +0000)]
(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h

18 years ago*** empty log message ***
Jim Meyering [Sun, 26 Feb 2006 10:01:05 +0000 (10:01 +0000)]
*** empty log message ***

18 years agoIn ls, avoid calling stat for --inode (-i), when possible.
Jim Meyering [Sun, 26 Feb 2006 10:01:00 +0000 (10:01 +0000)]
In ls, avoid calling stat for --inode (-i), when possible.

(main): Prefer dirent.d_ino to stat when possible.
(gobble_file): Add inode argument.
(print_dir): Pass inode if available.
(usage): Remove inaccuracy.

18 years agoupdate from gnulib
Jim Meyering [Fri, 24 Feb 2006 20:06:29 +0000 (20:06 +0000)]
update from gnulib

18 years ago*** empty log message ***
Jim Meyering [Fri, 24 Feb 2006 07:24:24 +0000 (07:24 +0000)]
*** empty log message ***

18 years ago(gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.
Jim Meyering [Fri, 24 Feb 2006 07:24:18 +0000 (07:24 +0000)]
(gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.

18 years ago*** empty log message ***
Jim Meyering [Thu, 23 Feb 2006 14:57:17 +0000 (14:57 +0000)]
*** empty log message ***

18 years agoUpdate/correct some obsolete entries.
Jim Meyering [Thu, 23 Feb 2006 14:57:08 +0000 (14:57 +0000)]
Update/correct some obsolete entries.

18 years ago(AT_FDCWD): Work around a bug in Solaris 9 and 10, where
Paul Eggert [Tue, 21 Feb 2006 06:42:29 +0000 (06:42 +0000)]
(AT_FDCWD): Work around a bug in Solaris 9 and 10, where
AT_FDCWD exceeds INT_MAX.

18 years agoMention `sort -k 1b,1'.
Paul Eggert [Tue, 21 Feb 2006 02:56:21 +0000 (02:56 +0000)]
Mention `sort -k 1b,1'.

18 years ago(usage): Mention `sort -k 1b,1'.
Paul Eggert [Tue, 21 Feb 2006 02:55:31 +0000 (02:55 +0000)]
(usage): Mention `sort -k 1b,1'.

18 years ago(join invocation): Mention `sort -k 1b,1'.
Paul Eggert [Tue, 21 Feb 2006 02:55:10 +0000 (02:55 +0000)]
(join invocation): Mention `sort -k 1b,1'.

18 years ago*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 16:50:14 +0000 (16:50 +0000)]
*** empty log message ***

18 years ago(rm invocation): Fix typo in last patch.
Jim Meyering [Mon, 20 Feb 2006 16:50:11 +0000 (16:50 +0000)]
(rm invocation): Fix typo in last patch.
(paste invocation): Fix whitespace.

18 years agoUpdate documentation to match previous patch.
Jim Meyering [Mon, 20 Feb 2006 16:49:27 +0000 (16:49 +0000)]
Update documentation to match previous patch.

18 years ago*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 13:01:56 +0000 (13:01 +0000)]
*** empty log message ***

18 years ago(rm invocation): Document new -I option, and new --interactive behavior.
Jim Meyering [Mon, 20 Feb 2006 13:01:51 +0000 (13:01 +0000)]
(rm invocation): Document new -I option, and new --interactive behavior.

18 years ago*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 13:01:20 +0000 (13:01 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Mon, 20 Feb 2006 13:00:54 +0000 (13:00 +0000)]
.

18 years ago.
Jim Meyering [Mon, 20 Feb 2006 13:00:16 +0000 (13:00 +0000)]
.

18 years agoRemove entry for implementing rm -I
Jim Meyering [Mon, 20 Feb 2006 13:00:03 +0000 (13:00 +0000)]
Remove entry for implementing rm -I

18 years agoNew option for rm: --interactive=once (-I).
Jim Meyering [Mon, 20 Feb 2006 12:50:38 +0000 (12:50 +0000)]
New option for rm: --interactive=once (-I).
Document it, along with change to rm --interactive.

18 years agotests for new, -I, option
Jim Meyering [Mon, 20 Feb 2006 12:49:54 +0000 (12:49 +0000)]
tests for new, -I, option

18 years ago(TESTS): Add interactive-always and interactive-once.
Jim Meyering [Mon, 20 Feb 2006 12:49:14 +0000 (12:49 +0000)]
(TESTS): Add interactive-always and interactive-once.

18 years ago(INTERACTIVE_OPTION): New enum value.
Jim Meyering [Mon, 20 Feb 2006 12:48:11 +0000 (12:48 +0000)]
(INTERACTIVE_OPTION): New enum value.
(interactive_type): New enum.
(long_opts): Let interactive take an optional argument.
(interactive_args, interactive_types): New option arguments.
(usage): Document -I, --interactive=WHEN.  Use program_name
instead of a basename.
(main): New -I option, new behavior to --interactive.
[From Eric Blake]

18 years ago(usage): Use two spaces (not one) to separate the
Jim Meyering [Sat, 18 Feb 2006 07:45:27 +0000 (07:45 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.

18 years ago*** empty log message ***
Jim Meyering [Sat, 18 Feb 2006 07:44:22 +0000 (07:44 +0000)]
*** empty log message ***

18 years ago(sc_two_space_separator_in_usage): Make the regular
Jim Meyering [Sat, 18 Feb 2006 07:40:51 +0000 (07:40 +0000)]
(sc_two_space_separator_in_usage): Make the regular
expression match more of the target lines, e.g., those that start with
`-S,' (short option followed by a comma) or that include `=[...]'.
Patch by Nicolas François.

18 years ago(usage): Use two spaces (not one) to separate the
Jim Meyering [Sat, 18 Feb 2006 07:23:05 +0000 (07:23 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.

18 years ago(usage): Use two spaces (not one) to separate the
Jim Meyering [Sat, 18 Feb 2006 07:21:50 +0000 (07:21 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.

18 years agoSync from gnulib.
Paul Eggert [Thu, 16 Feb 2006 23:34:00 +0000 (23:34 +0000)]
Sync from gnulib.

18 years ago*** empty log message ***
Jim Meyering [Thu, 16 Feb 2006 23:10:27 +0000 (23:10 +0000)]
*** empty log message ***

18 years agoInclude lstat.h, so that uses of lstat are converted
Jim Meyering [Thu, 16 Feb 2006 23:10:01 +0000 (23:10 +0000)]
Include lstat.h, so that uses of lstat are converted
to uses of rpl_lstat, e.g., on Solaris 9.  Otherwise, programs like
du (which now uses the openat-enabled fts and hence fstatat) would
mistakenly fail to dereference a symlink-to-directory specified
with a trailing slash.

18 years ago.
Jim Meyering [Thu, 16 Feb 2006 20:39:10 +0000 (20:39 +0000)]
.

18 years ago.
Jim Meyering [Thu, 16 Feb 2006 20:28:32 +0000 (20:28 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Wed, 15 Feb 2006 08:51:52 +0000 (08:51 +0000)]
*** empty log message ***

18 years ago(alpha beta major): For `make major', ensure that the
Jim Meyering [Wed, 15 Feb 2006 08:51:47 +0000 (08:51 +0000)]
(alpha beta major): For `make major', ensure that the
version string is of the form N.N[.N]*, where N is one or more digits.

18 years agoSync from gnulib.
Paul Eggert [Tue, 14 Feb 2006 23:08:59 +0000 (23:08 +0000)]
Sync from gnulib.

18 years agofix typo in diagnostic
Jim Meyering [Tue, 14 Feb 2006 22:21:56 +0000 (22:21 +0000)]
fix typo in diagnostic

18 years ago*** empty log message ***
Jim Meyering [Tue, 14 Feb 2006 20:23:23 +0000 (20:23 +0000)]
*** empty log message ***

18 years agoupdate from gnulib
Jim Meyering [Tue, 14 Feb 2006 20:23:07 +0000 (20:23 +0000)]
update from gnulib

18 years agoupdate from gnulib
Jim Meyering [Tue, 14 Feb 2006 12:27:35 +0000 (12:27 +0000)]
update from gnulib

18 years agoClarify wording in the light of later comments from the Open Group
Paul Eggert [Mon, 13 Feb 2006 23:30:58 +0000 (23:30 +0000)]
Clarify wording in the light of later comments from the Open Group
and from rms.

18 years ago*** empty log message ***
Jim Meyering [Mon, 13 Feb 2006 18:29:31 +0000 (18:29 +0000)]
*** empty log message ***

18 years ago(all): Emit diagnostics to stderr, not stdout.
Jim Meyering [Mon, 13 Feb 2006 18:29:24 +0000 (18:29 +0000)]
(all): Emit diagnostics to stderr, not stdout.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 15:15:32 +0000 (15:15 +0000)]
*** empty log message ***

18 years ago(patch-check): New target.
Jim Meyering [Sun, 12 Feb 2006 15:15:06 +0000 (15:15 +0000)]
(patch-check): New target.
(local-checks-available): Add to the list.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 08:48:46 +0000 (08:48 +0000)]
*** empty log message ***

18 years ago(Character sets): Don't say that an unknown
Jim Meyering [Sun, 12 Feb 2006 08:48:42 +0000 (08:48 +0000)]
(Character sets): Don't say that an unknown
backslash-escape causes an error message -- it doesn't.
Mention that `\' also removes any special significance, so
is useful for [, ], *, -.  Prompted by Richard Neill in
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=14937

18 years ago(Character sets): Don't say that an unknown
Jim Meyering [Sun, 12 Feb 2006 08:41:18 +0000 (08:41 +0000)]
(Character sets): Don't say that an unknown
backslash-escape causes an error message -- it doesn't.

18 years agofix typo in comment
Jim Meyering [Sun, 12 Feb 2006 07:55:38 +0000 (07:55 +0000)]
fix typo in comment

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:58:28 +0000 (20:58 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:58:09 +0000 (20:58 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:57:30 +0000 (20:57 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:56:08 +0000 (20:56 +0000)]
*** empty log message ***

18 years agoAdjust two expected diagnostics, now that they're
Jim Meyering [Sat, 11 Feb 2006 20:55:58 +0000 (20:55 +0000)]
Adjust two expected diagnostics, now that they're
a tiny bit less precise: cannot remove `a/1': ... instead of
cannot open directory `a/1': ...

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:54:42 +0000 (20:54 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:53:33 +0000 (20:53 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:53:01 +0000 (20:53 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:52:49 +0000 (20:52 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:22 +0000 (20:45 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:20 +0000 (20:45 +0000)]
*** empty log message ***

18 years ago(EXTRA_DIST): Add c99-to-c98.diff.
Jim Meyering [Sat, 11 Feb 2006 20:45:15 +0000 (20:45 +0000)]
(EXTRA_DIST): Add c99-to-c98.diff.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:44:05 +0000 (20:44 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:43:24 +0000 (20:43 +0000)]
*** empty log message ***