platform/upstream/coreutils.git
24 years agoSupport 8-byte integers, assuming they're printable with e.g., %lld.
Jim Meyering [Sun, 22 Oct 2000 07:33:21 +0000 (07:33 +0000)]
Support 8-byte integers, assuming they're printable with e.g., %lld.
Add support for printing data as unsigned
long long integers.

24 years agoadd missing backslash
Jim Meyering [Sun, 22 Oct 2000 07:20:24 +0000 (07:20 +0000)]
add missing backslash

24 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:57:54 +0000 (06:57 +0000)]
*** empty log message ***

24 years ago(O_DIRECTORY): Define, if needed.
Jim Meyering [Sun, 22 Oct 2000 06:57:42 +0000 (06:57 +0000)]
(O_DIRECTORY): Define, if needed.
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
Suggestion from Ulrich Drepper.

24 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:50:02 +0000 (06:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:43:52 +0000 (06:43 +0000)]
*** empty log message ***

24 years ago(no commit message)
Jim Meyering [Sat, 21 Oct 2000 20:07:49 +0000 (20:07 +0000)]

24 years ago.
Jim Meyering [Sat, 21 Oct 2000 20:07:03 +0000 (20:07 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:01:28 +0000 (20:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:00:37 +0000 (20:00 +0000)]
*** empty log message ***

24 years agoThe command, `yes ''|./cat -n' would stop printing after INT_MAX lines.
Jim Meyering [Sat, 21 Oct 2000 19:57:41 +0000 (19:57 +0000)]
The command, `yes ''|./cat -n' would stop printing after INT_MAX lines.
(cat): Never let `newlines' exceed 3.

24 years agoPrevent a counter buffer overrun when numbering lines and when
Jim Meyering [Sat, 21 Oct 2000 19:16:37 +0000 (19:16 +0000)]
Prevent a counter buffer overrun when numbering lines and when
processing 100 billion lines (or more) of input.

(LINE_COUNTER_BUF_LEN): Define to allow numbering as
many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could
be exceeded without too much trouble). Use this symbol rather
than hard-coding the constant everywhere.  Rather than overruning
for input with more lines, mark the line number by putting a
`>' in the leftmost slot.
(next_line_num): Fixed (now academic) possible line buffer overrun.
Patch by Jan Nieuwenhuizen.

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:22:39 +0000 (13:22 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:09:31 +0000 (13:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 13:05:55 +0000 (13:05 +0000)]
*** empty log message ***

24 years ago(SORT_OUT_OF_ORDER): Define.
Jim Meyering [Sat, 21 Oct 2000 13:05:40 +0000 (13:05 +0000)]
(SORT_OUT_OF_ORDER): Define.
(main): Use it instead of hard-coding the `1'.

24 years ago(main): Use EXIT_SUCCESS rather than 0.
Jim Meyering [Sat, 21 Oct 2000 13:03:40 +0000 (13:03 +0000)]
(main): Use EXIT_SUCCESS rather than 0.
Fail when checking (-c) with more than one file argument,
rather than simply ignoring the extra arguments.

24 years agotweak comment
Jim Meyering [Sat, 21 Oct 2000 12:46:58 +0000 (12:46 +0000)]
tweak comment

24 years ago(dir_name_r): New function, factored out of dir_name.
Jim Meyering [Sat, 21 Oct 2000 11:44:43 +0000 (11:44 +0000)]
(dir_name_r): New function, factored out of dir_name.
(dir_name): Use dir_name_r.

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 11:29:01 +0000 (11:29 +0000)]
*** empty log message ***

24 years ago(memrchr): Declare if necessary.
Jim Meyering [Sat, 21 Oct 2000 11:28:42 +0000 (11:28 +0000)]
(memrchr): Declare if necessary.
(dir_name): Remove the restriction that there be no
trailing slashes.  Now, this code skips past them, effectively
ignoring them.
[TEST_DIRNAME] (main): New unit tests.

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 10:37:14 +0000 (10:37 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_DIRNAME): New macro.
Jim Meyering [Sat, 21 Oct 2000 10:37:10 +0000 (10:37 +0000)]
(jm_PREREQ_DIRNAME): New macro.

24 years ago(AC_REPLACE_FUNCS): Add memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:49 +0000 (10:36 +0000)]
(AC_REPLACE_FUNCS): Add memrchr.

24 years ago(jm_CHECK_DECLS): Also check for memrchr.
Jim Meyering [Sat, 21 Oct 2000 10:36:32 +0000 (10:36 +0000)]
(jm_CHECK_DECLS): Also check for memrchr.

24 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 10:33:25 +0000 (10:33 +0000)]
*** empty log message ***

24 years agoNew file, derived from the one in GNU libc.
Jim Meyering [Sat, 21 Oct 2000 10:27:59 +0000 (10:27 +0000)]
New file, derived from the one in GNU libc.

24 years ago.
Jim Meyering [Thu, 19 Oct 2000 11:43:34 +0000 (11:43 +0000)]
.

24 years agoUpdate from master repository.
Jim Meyering [Thu, 19 Oct 2000 11:43:28 +0000 (11:43 +0000)]
Update from master repository.

24 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 20:48:04 +0000 (20:48 +0000)]
*** empty log message ***

24 years ago(universal_time): Remove; it's just a temptation to do the wrong thing.
Jim Meyering [Wed, 18 Oct 2000 20:47:25 +0000 (20:47 +0000)]
(universal_time): Remove; it's just a temptation to do the wrong thing.
(main): The -u option now just sets TZ; it doesn't do anything else.
(show_date): Do not do anything special if -u is set.
This affects the behavior of the -I and -R options.

24 years ago* src/date.c (universal_time): Remove; it's just a temptation to
Jim Meyering [Wed, 18 Oct 2000 20:45:20 +0000 (20:45 +0000)]
* src/date.c (universal_time): Remove; it's just a temptation to
do the wrong thing.
(main): The -u option now just sets TZ; it doesn't do anything else.
(show_date): Do not do anything special if -u is set.
This affects the behavior of the -I and -R options.

* doc/sh-utils.texi: Document the above.

24 years agoUndo the effect of the 1997-07-12 change to date.c; it
Jim Meyering [Wed, 18 Oct 2000 19:03:30 +0000 (19:03 +0000)]
Undo the effect of the 1997-07-12 change to date.c; it
broke "date -u MMDDhhmm" and it wasn't documented.
This reverts to the behavior of the 1996-01-03 patch.

(utc-0, utc-1, relative-2): Adjust to above change.

24 years agoUndo the effect of the 1997-07-12 change to date.c; it
Jim Meyering [Wed, 18 Oct 2000 19:02:56 +0000 (19:02 +0000)]
Undo the effect of the 1997-07-12 change to date.c; it
broke "date -u MMDDhhmm" and it wasn't documented.
This reverts to the behavior of the 1996-01-03 patch.

(TZ_UTC0, MAYBE_SET_TZ_UTC0, set_tz): Remove.
(batch_convert): Don't futz with TZ.
(main): -u now parses all dates as UTC, not just some.

24 years agospace to tab
Jim Meyering [Wed, 18 Oct 2000 19:02:34 +0000 (19:02 +0000)]
space to tab

24 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 09:51:00 +0000 (09:51 +0000)]
*** empty log message ***

24 years ago(Examples of date): Fix a typo.
Jim Meyering [Wed, 18 Oct 2000 09:50:56 +0000 (09:50 +0000)]
(Examples of date): Fix a typo.

24 years ago*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 07:42:08 +0000 (07:42 +0000)]
*** empty log message ***

24 years agoMake sure the programs use C-locale formats
Jim Meyering [Wed, 18 Oct 2000 07:41:59 +0000 (07:41 +0000)]
Make sure the programs use C-locale formats
and translations.  Bruno Haible reported that this test would fail
when using other locales, because ls printed a translation of `total'.

24 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:42 +0000 (08:45 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:32 +0000 (08:45 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:11 +0000 (08:45 +0000)]
*** empty log message ***

24 years ago[PARAMS]: Define and use.
Jim Meyering [Tue, 17 Oct 2000 08:45:07 +0000 (08:45 +0000)]
[PARAMS]: Define and use.

24 years ago*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 06:45:57 +0000 (06:45 +0000)]
*** empty log message ***

24 years agoUpdate from libc.
Jim Meyering [Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)]
Update from libc.

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 22:05:20 +0000 (22:05 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 22:01:11 +0000 (22:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:31:38 +0000 (14:31 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:30:39 +0000 (14:30 +0000)]
*** empty log message ***

24 years agofix spell-o in comment
Jim Meyering [Mon, 16 Oct 2000 08:10:58 +0000 (08:10 +0000)]
fix spell-o in comment

24 years ago(rm_option_init): Remove FIXME-maybe comment.
Jim Meyering [Mon, 16 Oct 2000 08:09:57 +0000 (08:09 +0000)]
(rm_option_init): Remove FIXME-maybe comment.

24 years ago.
Jim Meyering [Mon, 16 Oct 2000 08:09:42 +0000 (08:09 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 06:25:55 +0000 (06:25 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 06:25:29 +0000 (06:25 +0000)]
*** empty log message ***

24 years ago(hard_locale): Use "", not 0 as 2nd arg to setlocale.
Jim Meyering [Mon, 16 Oct 2000 06:24:33 +0000 (06:24 +0000)]
(hard_locale): Use "", not 0 as 2nd arg to setlocale.
From Jan Fedak.

24 years ago.
Jim Meyering [Sun, 15 Oct 2000 11:53:35 +0000 (11:53 +0000)]
.

24 years ago.
Jim Meyering [Thu, 12 Oct 2000 02:36:18 +0000 (02:36 +0000)]
.

24 years ago(Time directives) [%S]: Range is 0..60, not 0..61.
Jim Meyering [Thu, 12 Oct 2000 02:28:27 +0000 (02:28 +0000)]
(Time directives) [%S]: Range is 0..60, not 0..61.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 11:58:17 +0000 (11:58 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 09:50:23 +0000 (09:50 +0000)]
*** empty log message ***

24 years ago(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 09:40:56 +0000 (09:40 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 09:39:52 +0000 (09:39 +0000)]
*** empty log message ***

24 years ago(change_file_mode): Perform the chmod even if the
Jim Meyering [Sat, 30 Sep 2000 09:39:41 +0000 (09:39 +0000)]
(change_file_mode): Perform the chmod even if the
file mode permission bits are the same as those that should be set.
Omitting the chmod call would be alright with minimal 1003.1e DS17
ACLs, but eventually there will be other permissions in addition to
rwx.  E.g., add and delete for directories, and something analogous
to NT's take ownership permission.

24 years ago(main): Don't set the umask to 0 and hand-apply
Jim Meyering [Sat, 30 Sep 2000 08:56:06 +0000 (08:56 +0000)]
(main): Don't set the umask to 0 and hand-apply
the previously-set umask unconditionally.  Do that only when a
MODE has been specified.  Otherwise, call mkfifo with the full
creation mask (0777 or 0666) and let the kernel apply the umask.
The difference shows up only on file systems with ACL support
when the containing directory has a default ACL.
Patch by Andreas Gruenbacher.
(main): Rename local `symbolic_mode' to `specified_mode'.
Also, when MODE is specified, call chmod to ensure that the
permission bits are set as specified even when the containing
directory has a default ACL.

24 years ago(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 08:53:27 +0000 (08:53 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.

24 years ago(main): Don't set the umask to 0 and hand-apply
Jim Meyering [Sat, 30 Sep 2000 08:53:10 +0000 (08:53 +0000)]
(main): Don't set the umask to 0 and hand-apply
the previously-set umask unconditionally.  Do that only when a
MODE has been specified.  Otherwise, call mknod with the full
creation mask (0777 or 0666) and let the kernel apply the umask.
The difference shows up only on file systems with ACL support
when the containing directory has a default ACL.
Patch by Andreas Gruenbacher.
(main): Rename local `symbolic_mode' to `specified_mode'.
Also, when MODE is specified, call chmod to ensure that the
permission bits are set as specified even when the containing
directory has a default ACL.

24 years ago(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 08:49:51 +0000 (08:49 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.

24 years ago(main): Don't set the umask to 0 and hand-apply
Jim Meyering [Sat, 30 Sep 2000 08:49:17 +0000 (08:49 +0000)]
(main): Don't set the umask to 0 and hand-apply
the previously-set umask unconditionally.  Do that only when a
MODE has been specified.  Otherwise, call mkdir with the full
creation mask (0777 or 0666) and let the kernel apply the umask.
The difference shows up only on file systems with ACL support
when the containing directory has a default ACL.
Patch by Andreas Gruenbacher.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:42:11 +0000 (08:42 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***

24 years agoUpdate to use newer template.
Jim Meyering [Sat, 30 Sep 2000 08:32:55 +0000 (08:32 +0000)]
Update to use newer template.

24 years ago(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 08:20:23 +0000 (08:20 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.

24 years agoRemove option-describing comment block.
Jim Meyering [Sat, 30 Sep 2000 08:19:34 +0000 (08:19 +0000)]
Remove option-describing comment block.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:10:36 +0000 (08:10 +0000)]
*** empty log message ***

24 years ago(TESTS): Add perm.
Jim Meyering [Sat, 30 Sep 2000 08:10:31 +0000 (08:10 +0000)]
(TESTS): Add perm.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:09:14 +0000 (08:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:08:21 +0000 (08:08 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:05:32 +0000 (08:05 +0000)]
*** empty log message ***

24 years ago(usage): Add a separate usage line, just for `OPTION'.
Jim Meyering [Fri, 29 Sep 2000 21:40:38 +0000 (21:40 +0000)]
(usage): Add a separate usage line, just for `OPTION'.

24 years ago*** empty log message ***
Jim Meyering [Fri, 29 Sep 2000 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 29 Sep 2000 21:39:51 +0000 (21:39 +0000)]
*** empty log message ***

24 years agoRun `diff -c' only if cmp finds a difference.
Jim Meyering [Fri, 29 Sep 2000 10:17:51 +0000 (10:17 +0000)]
Run `diff -c' only if cmp finds a difference.
Clean up.

24 years ago.
Jim Meyering [Mon, 25 Sep 2000 22:38:16 +0000 (22:38 +0000)]
.

24 years ago(long_opts): --exact doesn't take an argument.
Jim Meyering [Mon, 25 Sep 2000 22:37:54 +0000 (22:37 +0000)]
(long_opts): --exact doesn't take an argument.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 22:37:17 +0000 (22:37 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 22:36:45 +0000 (22:36 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 20:25:04 +0000 (20:25 +0000)]
*** empty log message ***

24 years agoDon't use `diff -u'. It's not portable.
Jim Meyering [Mon, 25 Sep 2000 20:23:43 +0000 (20:23 +0000)]
Don't use `diff -u'.  It's not portable.
Run `diff -c' only if cmp finds a difference.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 20:23:11 +0000 (20:23 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 19:43:57 +0000 (19:43 +0000)]
*** empty log message ***

24 years agoUse `(exit 1); exit' paradigm also for framework_failure.
Jim Meyering [Mon, 25 Sep 2000 19:41:56 +0000 (19:41 +0000)]
Use `(exit 1); exit' paradigm also for framework_failure.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 10:52:09 +0000 (10:52 +0000)]
*** empty log message ***

24 years ago(prev_version_file): Define and use.
Jim Meyering [Mon, 25 Sep 2000 10:51:53 +0000 (10:51 +0000)]
(prev_version_file): Define and use.

24 years ago(PREV_VERSION): Get the value from a file, rather
Jim Meyering [Mon, 25 Sep 2000 10:49:35 +0000 (10:49 +0000)]
(PREV_VERSION): Get the value from a file, rather
than trying to derive it from the current version number.
This is much more robust.
(alpha): Record just-released version number in `.version',
and commit (post-tag).

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 07:41:45 +0000 (07:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 07:33:07 +0000 (07:33 +0000)]
*** empty log message ***

24 years ago*** empty log message *** FILEUTILS-4_0_27
Jim Meyering [Mon, 25 Sep 2000 07:17:29 +0000 (07:17 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 00:23:17 +0000 (00:23 +0000)]
*** empty log message ***

24 years ago(usage): Match revised documentation better.
Jim Meyering [Mon, 25 Sep 2000 00:09:10 +0000 (00:09 +0000)]
(usage): Match revised documentation better.

24 years ago*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 00:01:22 +0000 (00:01 +0000)]
*** empty log message ***