Jim Meyering [Wed, 18 Oct 2000 20:48:04 +0000 (20:48 +0000)]
*** empty log message ***
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.
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.
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.
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.
Jim Meyering [Wed, 18 Oct 2000 19:02:34 +0000 (19:02 +0000)]
space to tab
Jim Meyering [Wed, 18 Oct 2000 09:51:00 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Oct 2000 09:50:56 +0000 (09:50 +0000)]
(Examples of date): Fix a typo.
Jim Meyering [Wed, 18 Oct 2000 07:42:08 +0000 (07:42 +0000)]
*** empty log message ***
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'.
Jim Meyering [Tue, 17 Oct 2000 08:45:42 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:32 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:11 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 08:45:07 +0000 (08:45 +0000)]
[PARAMS]: Define and use.
Jim Meyering [Tue, 17 Oct 2000 06:45:57 +0000 (06:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Oct 2000 06:45:49 +0000 (06:45 +0000)]
Update from libc.
Jim Meyering [Mon, 16 Oct 2000 22:05:20 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 22:01:11 +0000 (22:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:31:38 +0000 (14:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 14:30:39 +0000 (14:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 08:10:58 +0000 (08:10 +0000)]
fix spell-o in comment
Jim Meyering [Mon, 16 Oct 2000 08:09:57 +0000 (08:09 +0000)]
(rm_option_init): Remove FIXME-maybe comment.
Jim Meyering [Mon, 16 Oct 2000 08:09:42 +0000 (08:09 +0000)]
.
Jim Meyering [Mon, 16 Oct 2000 06:25:55 +0000 (06:25 +0000)]
*** empty log message ***
Jim Meyering [Mon, 16 Oct 2000 06:25:29 +0000 (06:25 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 15 Oct 2000 11:53:35 +0000 (11:53 +0000)]
.
Jim Meyering [Thu, 12 Oct 2000 02:36:18 +0000 (02:36 +0000)]
.
Jim Meyering [Thu, 12 Oct 2000 02:28:27 +0000 (02:28 +0000)]
(Time directives) [%S]: Range is 0..60, not 0..61.
Jim Meyering [Sat, 30 Sep 2000 11:58:17 +0000 (11:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 09:50:23 +0000 (09:50 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 09:40:56 +0000 (09:40 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 09:39:52 +0000 (09:39 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Sat, 30 Sep 2000 08:53:27 +0000 (08:53 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.
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.
Jim Meyering [Sat, 30 Sep 2000 08:49:51 +0000 (08:49 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.
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.
Jim Meyering [Sat, 30 Sep 2000 08:42:11 +0000 (08:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:32:55 +0000 (08:32 +0000)]
Update to use newer template.
Jim Meyering [Sat, 30 Sep 2000 08:20:23 +0000 (08:20 +0000)]
(main): Rename local `symbolic_mode' to `specified_mode'.
Jim Meyering [Sat, 30 Sep 2000 08:19:34 +0000 (08:19 +0000)]
Remove option-describing comment block.
Jim Meyering [Sat, 30 Sep 2000 08:10:36 +0000 (08:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:10:31 +0000 (08:10 +0000)]
(TESTS): Add perm.
Jim Meyering [Sat, 30 Sep 2000 08:09:14 +0000 (08:09 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:08:21 +0000 (08:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 30 Sep 2000 08:05:32 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Fri, 29 Sep 2000 21:40:38 +0000 (21:40 +0000)]
(usage): Add a separate usage line, just for `OPTION'.
Jim Meyering [Fri, 29 Sep 2000 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 29 Sep 2000 21:39:51 +0000 (21:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 29 Sep 2000 10:17:51 +0000 (10:17 +0000)]
Run `diff -c' only if cmp finds a difference.
Clean up.
Jim Meyering [Mon, 25 Sep 2000 22:38:16 +0000 (22:38 +0000)]
.
Jim Meyering [Mon, 25 Sep 2000 22:37:54 +0000 (22:37 +0000)]
(long_opts): --exact doesn't take an argument.
Jim Meyering [Mon, 25 Sep 2000 22:37:17 +0000 (22:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 22:36:45 +0000 (22:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 20:25:04 +0000 (20:25 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 25 Sep 2000 20:23:11 +0000 (20:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 19:43:57 +0000 (19:43 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 19:41:56 +0000 (19:41 +0000)]
Use `(exit 1); exit' paradigm also for framework_failure.
Jim Meyering [Mon, 25 Sep 2000 10:52:09 +0000 (10:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 10:51:53 +0000 (10:51 +0000)]
(prev_version_file): Define and use.
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).
Jim Meyering [Mon, 25 Sep 2000 07:41:45 +0000 (07:41 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 07:33:07 +0000 (07:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 07:17:29 +0000 (07:17 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 00:23:17 +0000 (00:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 00:09:10 +0000 (00:09 +0000)]
(usage): Match revised documentation better.
Jim Meyering [Mon, 25 Sep 2000 00:01:22 +0000 (00:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 25 Sep 2000 00:00:58 +0000 (00:00 +0000)]
(rol): Define (from GnuPG).
Jim Meyering [Sun, 24 Sep 2000 23:59:39 +0000 (23:59 +0000)]
Give credit (GnuPG) where due.
(M): Use rol rather than open-coding it.
Add a FIXME comment.
Jim Meyering [Sun, 24 Sep 2000 23:05:57 +0000 (23:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Sep 2000 18:42:23 +0000 (18:42 +0000)]
.
Jim Meyering [Sun, 24 Sep 2000 11:57:41 +0000 (11:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 24 Sep 2000 11:57:36 +0000 (11:57 +0000)]
(main): Tweak a relatively new diagnostic.
Jim Meyering [Sat, 23 Sep 2000 19:27:41 +0000 (19:27 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Sep 2000 19:27:33 +0000 (19:27 +0000)]
Output more information when a test fails.
Jim Meyering [Sat, 23 Sep 2000 19:24:12 +0000 (19:24 +0000)]
adjust for change in behavior
Jim Meyering [Sat, 23 Sep 2000 09:29:54 +0000 (09:29 +0000)]
.
Jim Meyering [Fri, 22 Sep 2000 20:41:40 +0000 (20:41 +0000)]
(main): When used with --force, each of the --link and
--symbolic-link options now implies --remove-destination.
Jim Meyering [Fri, 22 Sep 2000 19:30:36 +0000 (19:30 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 19:30:29 +0000 (19:30 +0000)]
(cp_option_init): Once again make it so install always
unlinks an existing destination before trying to open it for writing.
Otherwise, installing onto a running shared library would make the
running program malfunction.
Jim Meyering [Fri, 22 Sep 2000 19:28:24 +0000 (19:28 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 19:27:31 +0000 (19:27 +0000)]
(TESTS): Add dir-rm-dest.
Jim Meyering [Fri, 22 Sep 2000 18:31:02 +0000 (18:31 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 15:40:43 +0000 (15:40 +0000)]
(do_move): Moving a directory specified with a trailing
slash from one partition to another, and giving it a different
name at the destination would cause mv to get a failed assertion.
Reported by Michael Stone.
(strip_trailing_slashes_2): Move function definition to precede new first use.
Jim Meyering [Fri, 22 Sep 2000 15:39:03 +0000 (15:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 15:38:37 +0000 (15:38 +0000)]
(TESTS): Add part-rename.
Jim Meyering [Fri, 22 Sep 2000 14:14:55 +0000 (14:14 +0000)]
(copy_internal): Don't try to unlink directories when
using --remove-dest with -R.
Jim Meyering [Fri, 22 Sep 2000 13:31:14 +0000 (13:31 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 14:40:09 +0000 (14:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 05:40:34 +0000 (05:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 05:40:28 +0000 (05:40 +0000)]
(parse_user_spec): Remove debugging printf I'd added.
Argh!
Jim Meyering [Wed, 20 Sep 2000 09:43:37 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 09:43:07 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:06:06 +0000 (08:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:05:39 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:05:24 +0000 (08:05 +0000)]
(libfetish_a_SOURCES): Add sha.c.
(noinst_HEADERS): Add sha.h.
Based on code from Scott G. Miller and from GnuPG.