Jim Meyering [Mon, 13 Nov 2000 23:59:15 +0000 (23:59 +0000)]
Add an `echo' so that the input to the sed command
is NL-terminated. Otherwise, Solaris' /bin/sed generates no output.
Reported by Vin Shelton.
Jim Meyering [Mon, 13 Nov 2000 19:34:19 +0000 (19:34 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Nov 2000 19:33:47 +0000 (19:33 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Nov 2000 19:33:32 +0000 (19:33 +0000)]
(ST_TIME_CMP_NS): Fix typo: ST_MTIM_NSEC should
be tested with #ifdef, not with #if.
Jim Meyering [Sun, 12 Nov 2000 15:19:26 +0000 (15:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Nov 2000 15:19:21 +0000 (15:19 +0000)]
(print_long_format): Remove obsolete comment (strftime vs. ctime).
From Paul Eggert.
Jim Meyering [Sun, 12 Nov 2000 10:51:33 +0000 (10:51 +0000)]
.
Jim Meyering [Sun, 12 Nov 2000 10:51:24 +0000 (10:51 +0000)]
Update from master repository.
Jim Meyering [Sun, 12 Nov 2000 10:02:29 +0000 (10:02 +0000)]
(show_date): Add a comment explaining why the
format string must not be translatable via _(). From Paul Eggert.
Jim Meyering [Sun, 12 Nov 2000 09:48:14 +0000 (09:48 +0000)]
(<langinfo.h>): Include if HAVE_LANGINFO_H.
(DATE_FMT_LANGINFO): New macro, taken from sh-utils/src/date.c.
(print_long_format): Use it to determine "date" format.
Do not wrap "%b %e %Y" and "%b %e %H:%M" in _(), as it results in
incorrect behavior when LC_ALL is unset, LC_TIME is "C", and
LC_MESSAGES or LANG is set to something disagreeing with the POSIX
locale.
Jim Meyering [Sat, 11 Nov 2000 14:52:05 +0000 (14:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 14:32:00 +0000 (14:32 +0000)]
Add a couple #includes, merging from GNU libc version.
Jim Meyering [Sat, 11 Nov 2000 14:18:22 +0000 (14:18 +0000)]
.
Jim Meyering [Sat, 11 Nov 2000 14:18:08 +0000 (14:18 +0000)]
More minor rewording and grammar correction.
From Brian Youmans.
Jim Meyering [Sat, 11 Nov 2000 13:42:17 +0000 (13:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 13:42:07 +0000 (13:42 +0000)]
(GZIP_ENV): Define to --no-name, so the timestamp
is not included in the .tar.gz file.
Jim Meyering [Sat, 11 Nov 2000 13:35:39 +0000 (13:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 13:34:51 +0000 (13:34 +0000)]
(tests): Use `empty' (instead of just blanks) to
indicate no `-m' option. Using just blanks wasn't portable to
Solaris2.5.1's /bin/sh.
Jim Meyering [Sat, 11 Nov 2000 10:21:51 +0000 (10:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 10:21:42 +0000 (10:21 +0000)]
Don't put newline in IFS; that's not portable to
NetBSD's /bin/sh. Instead, filter newlines and leading/trailing blanks
out of `tests' before the `set -'.
Jim Meyering [Sat, 11 Nov 2000 09:10:33 +0000 (09:10 +0000)]
Back out Paul's changes while we wait for him and Bruno to reach agreement.
Jim Meyering [Sat, 11 Nov 2000 09:09:55 +0000 (09:09 +0000)]
Remove Paul's entries for unicodeio.c: then I don't have to justify
backing out the nov8/9 changes.
Jim Meyering [Sat, 11 Nov 2000 08:32:16 +0000 (08:32 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 08:32:10 +0000 (08:32 +0000)]
(announcement): Limit depth of ChangeLog `find' to 2.
Jim Meyering [Sat, 11 Nov 2000 08:29:21 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 08:11:20 +0000 (08:11 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 07:52:09 +0000 (07:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 07:51:25 +0000 (07:51 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Nov 2000 07:51:07 +0000 (07:51 +0000)]
(print_long_format): Wrap the --full-time' date format
string in _(...), so it too may be internationalized.
Suggestion from Jungshik Shin.
Jim Meyering [Sat, 11 Nov 2000 07:50:38 +0000 (07:50 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 18:54:40 +0000 (18:54 +0000)]
.
Jim Meyering [Fri, 10 Nov 2000 18:54:19 +0000 (18:54 +0000)]
(main): Interpret a lone numeric argument of 8 or 10
digits as a file name, rather than as a date/time in the obsolescent
`MMDDhhmm[YY]' format. Reported by Wenjun Zheng.
Jim Meyering [Fri, 10 Nov 2000 16:37:20 +0000 (16:37 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 16:30:37 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 16:30:28 +0000 (16:30 +0000)]
(TESTS): Add obsolescent.
Jim Meyering [Fri, 10 Nov 2000 16:29:12 +0000 (16:29 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 16:24:24 +0000 (16:24 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 16:23:14 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 11:14:03 +0000 (11:14 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 11:13:32 +0000 (11:13 +0000)]
Update from GNU libc.
Jim Meyering [Fri, 10 Nov 2000 11:10:39 +0000 (11:10 +0000)]
Update from GNU libc.
Jim Meyering [Fri, 10 Nov 2000 09:02:29 +0000 (09:02 +0000)]
fix typo
Jim Meyering [Fri, 10 Nov 2000 08:46:34 +0000 (08:46 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Nov 2000 08:46:19 +0000 (08:46 +0000)]
(ENOTSUP): Define to EINVAL if not defined.
Jim Meyering [Fri, 10 Nov 2000 08:44:51 +0000 (08:44 +0000)]
don't back them out
Jim Meyering [Fri, 10 Nov 2000 08:43:46 +0000 (08:43 +0000)]
Back out the last two changes, at least for now.
Jim Meyering [Thu, 9 Nov 2000 22:29:57 +0000 (22:29 +0000)]
.
Jim Meyering [Thu, 9 Nov 2000 22:22:41 +0000 (22:22 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Nov 2000 22:21:59 +0000 (22:21 +0000)]
Do not set the permissions of the final directory
component if it was not just created.
Based on a patch from Volker Borchert.
Jim Meyering [Thu, 9 Nov 2000 08:33:01 +0000 (08:33 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Nov 2000 08:32:52 +0000 (08:32 +0000)]
(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.
Jim Meyering [Thu, 9 Nov 2000 08:30:00 +0000 (08:30 +0000)]
(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
(<limits.h>): Include if HAVE_LIMITS_H.
(MB_LEN_MAX): Define if limits.h doesn't.
(convert_unicode_char): New function, with the conversion part of the
old print_unicode_char. Use wctomb, not wcrtomb. Depend on
HAVE_WCTOMB, not HAVE_WCRTOMB.
(print_unicode_char): Use convert_unicode_char to do the conversion.
Jim Meyering [Thu, 9 Nov 2000 08:28:13 +0000 (08:28 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:43 +0000 (14:46 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:35 +0000 (14:46 +0000)]
(jm_MACROS): Add test for wcrtomb.
Jim Meyering [Wed, 8 Nov 2000 14:46:20 +0000 (14:46 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:13 +0000 (14:46 +0000)]
Include wchar.h.
(wcrtomb): Provide fallback definition for broken platforms.
(print_unicode_char): New alternative definition for platforms where
wchar_t is Unicode.
Jim Meyering [Tue, 7 Nov 2000 15:36:04 +0000 (15:36 +0000)]
.
Jim Meyering [Tue, 7 Nov 2000 15:35:25 +0000 (15:35 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 15:35:15 +0000 (15:35 +0000)]
(setusershell): Use rewind rather than
fseek/fseeko, to avoid configuration hassles with fseeko.
Don't bother opening SHELLS_FILE if shellstream is NULL;
it's not necessary.
Jim Meyering [Tue, 7 Nov 2000 14:57:41 +0000 (14:57 +0000)]
tweak
Jim Meyering [Tue, 7 Nov 2000 14:22:54 +0000 (14:22 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 14:22:11 +0000 (14:22 +0000)]
(TESTS): Add parents.
(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).
Jim Meyering [Tue, 7 Nov 2000 14:20:43 +0000 (14:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 14:20:06 +0000 (14:20 +0000)]
handle special bits, too
Jim Meyering [Mon, 6 Nov 2000 21:53:08 +0000 (21:53 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 21:52:12 +0000 (21:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 20:57:04 +0000 (20:57 +0000)]
(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).
Jim Meyering [Mon, 6 Nov 2000 20:53:58 +0000 (20:53 +0000)]
Move mkdir tests into ../mkdir.
Jim Meyering [Mon, 6 Nov 2000 18:41:25 +0000 (18:41 +0000)]
add Paul here, too.
Jim Meyering [Mon, 6 Nov 2000 17:42:19 +0000 (17:42 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 17:42:11 +0000 (17:42 +0000)]
Update from master repository.
Jim Meyering [Mon, 6 Nov 2000 17:38:13 +0000 (17:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 17:38:07 +0000 (17:38 +0000)]
Update from latest version: 1.23.
Jim Meyering [Mon, 6 Nov 2000 13:12:57 +0000 (13:12 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 13:10:38 +0000 (13:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 13:10:33 +0000 (13:10 +0000)]
(print_header): Mark strings for translation.
Jim Meyering [Mon, 6 Nov 2000 10:24:36 +0000 (10:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 10:24:21 +0000 (10:24 +0000)]
(skip): st_size is not defined for directories.
Jim Meyering [Mon, 6 Nov 2000 09:03:22 +0000 (09:03 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 09:02:21 +0000 (09:02 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 08:55:34 +0000 (08:55 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 08:46:01 +0000 (08:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:45:35 +0000 (15:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:45:31 +0000 (15:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:45:05 +0000 (15:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:14:09 +0000 (15:14 +0000)]
(main): Use make_dir instead of using mkdir directly.
Diagnose as failure when mkdir tries to create (without the
--parent (-p) option) a directory that already exists.
Jim Meyering [Sun, 5 Nov 2000 15:12:48 +0000 (15:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:12:37 +0000 (15:12 +0000)]
fix another exit
Jim Meyering [Sun, 5 Nov 2000 15:12:14 +0000 (15:12 +0000)]
Clean up this test.
Jim Meyering [Sun, 5 Nov 2000 15:11:05 +0000 (15:11 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:08:35 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:08:22 +0000 (15:08 +0000)]
(main): Use make_dir instead of using mkdir directly.
Diagnose as failure when mkdir tries to create (without the --parent (-p)
option) a directory that already exists.
Jim Meyering [Sun, 5 Nov 2000 15:04:53 +0000 (15:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:04:39 +0000 (15:04 +0000)]
(make_dir): Declare.
Jim Meyering [Sun, 5 Nov 2000 15:04:17 +0000 (15:04 +0000)]
(make_dir): Remove `static' attribute.
Tweak a comment.
Jim Meyering [Sun, 5 Nov 2000 15:03:01 +0000 (15:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:02:32 +0000 (15:02 +0000)]
Add tests for the above fix.
Jim Meyering [Sun, 5 Nov 2000 10:12:25 +0000 (10:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 09:54:07 +0000 (09:54 +0000)]
*** empty log message ***