platform/upstream/coreutils.git
24 years agoDo not set the permissions of the final directory
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.

24 years ago*** empty log message ***
Jim Meyering [Thu, 9 Nov 2000 08:33:01 +0000 (08:33 +0000)]
*** empty log message ***

24 years ago(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.
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.

24 years ago(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
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.

24 years ago*** empty log message ***
Jim Meyering [Thu, 9 Nov 2000 08:28:13 +0000 (08:28 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:43 +0000 (14:46 +0000)]
*** empty log message ***

24 years ago(jm_MACROS): Add test for wcrtomb.
Jim Meyering [Wed, 8 Nov 2000 14:46:35 +0000 (14:46 +0000)]
(jm_MACROS): Add test for wcrtomb.

24 years ago*** empty log message ***
Jim Meyering [Wed, 8 Nov 2000 14:46:20 +0000 (14:46 +0000)]
*** empty log message ***

24 years agoInclude wchar.h.
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.

24 years ago.
Jim Meyering [Tue, 7 Nov 2000 15:36:04 +0000 (15:36 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 15:35:25 +0000 (15:35 +0000)]
*** empty log message ***

24 years ago(setusershell): Use rewind rather than
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.

24 years agotweak
Jim Meyering [Tue, 7 Nov 2000 14:57:41 +0000 (14:57 +0000)]
tweak

24 years ago*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 14:22:54 +0000 (14:22 +0000)]
*** empty log message ***

24 years ago(TESTS): Add parents.
Jim Meyering [Tue, 7 Nov 2000 14:22:11 +0000 (14:22 +0000)]
(TESTS): Add parents.
(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).

24 years ago*** empty log message ***
Jim Meyering [Tue, 7 Nov 2000 14:20:43 +0000 (14:20 +0000)]
*** empty log message ***

24 years agohandle special bits, too
Jim Meyering [Tue, 7 Nov 2000 14:20:06 +0000 (14:20 +0000)]
handle special bits, too

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 21:53:08 +0000 (21:53 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 21:52:12 +0000 (21:52 +0000)]
*** empty log message ***

24 years ago(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).
Jim Meyering [Mon, 6 Nov 2000 20:57:04 +0000 (20:57 +0000)]
(TESTS_ENVIRONMENT): Define srcdir=$(srcdir).

24 years agoMove mkdir tests into ../mkdir.
Jim Meyering [Mon, 6 Nov 2000 20:53:58 +0000 (20:53 +0000)]
Move mkdir tests into ../mkdir.

24 years agoadd Paul here, too.
Jim Meyering [Mon, 6 Nov 2000 18:41:25 +0000 (18:41 +0000)]
add Paul here, too.

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 17:42:19 +0000 (17:42 +0000)]
*** empty log message ***

24 years agoUpdate from master repository.
Jim Meyering [Mon, 6 Nov 2000 17:42:11 +0000 (17:42 +0000)]
Update from master repository.

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 17:38:13 +0000 (17:38 +0000)]
*** empty log message ***

24 years agoUpdate from latest version: 1.23.
Jim Meyering [Mon, 6 Nov 2000 17:38:07 +0000 (17:38 +0000)]
Update from latest version: 1.23.

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 13:12:57 +0000 (13:12 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 13:10:38 +0000 (13:10 +0000)]
*** empty log message ***

24 years ago(print_header): Mark strings for translation.
Jim Meyering [Mon, 6 Nov 2000 13:10:33 +0000 (13:10 +0000)]
(print_header): Mark strings for translation.

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 10:24:36 +0000 (10:24 +0000)]
*** empty log message ***

24 years ago(skip): st_size is not defined for directories.
Jim Meyering [Mon, 6 Nov 2000 10:24:21 +0000 (10:24 +0000)]
(skip): st_size is not defined for directories.

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 09:03:22 +0000 (09:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 09:02:21 +0000 (09:02 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 08:55:34 +0000 (08:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 6 Nov 2000 08:46:01 +0000 (08:46 +0000)]
*** empty log message ***

24 years ago*** empty log message *** FILEUTILS-4_0_31
Jim Meyering [Sun, 5 Nov 2000 15:45:35 +0000 (15:45 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:45:31 +0000 (15:45 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:45:05 +0000 (15:45 +0000)]
*** empty log message ***

24 years ago(main): Use make_dir instead of using mkdir directly.
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.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:12:48 +0000 (15:12 +0000)]
*** empty log message ***

24 years agofix another exit
Jim Meyering [Sun, 5 Nov 2000 15:12:37 +0000 (15:12 +0000)]
fix another exit

24 years agoClean up this test.
Jim Meyering [Sun, 5 Nov 2000 15:12:14 +0000 (15:12 +0000)]
Clean up this test.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:11:05 +0000 (15:11 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:08:35 +0000 (15:08 +0000)]
*** empty log message ***

24 years ago(main): Use make_dir instead of using mkdir directly.
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.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:04:53 +0000 (15:04 +0000)]
*** empty log message ***

24 years ago(make_dir): Declare.
Jim Meyering [Sun, 5 Nov 2000 15:04:39 +0000 (15:04 +0000)]
(make_dir): Declare.

24 years ago(make_dir): Remove `static' attribute.
Jim Meyering [Sun, 5 Nov 2000 15:04:17 +0000 (15:04 +0000)]
(make_dir): Remove `static' attribute.
Tweak a comment.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 15:03:01 +0000 (15:03 +0000)]
*** empty log message ***

24 years agoAdd tests for the above fix.
Jim Meyering [Sun, 5 Nov 2000 15:02:32 +0000 (15:02 +0000)]
Add tests for the above fix.

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 10:12:25 +0000 (10:12 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 09:54:07 +0000 (09:54 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 5 Nov 2000 09:52:55 +0000 (09:52 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 22:19:21 +0000 (22:19 +0000)]
*** empty log message ***

24 years agoUse the `m4_' prefix on `syscmd' and `m4_sysval'.
Jim Meyering [Sat, 4 Nov 2000 22:19:15 +0000 (22:19 +0000)]
Use the `m4_' prefix on `syscmd' and `m4_sysval'.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 21:39:00 +0000 (21:39 +0000)]
*** empty log message ***

24 years ago(hash_get_next): Fix a thinko: when ENTRY is the
Jim Meyering [Sat, 4 Nov 2000 21:38:55 +0000 (21:38 +0000)]
(hash_get_next): Fix a thinko:  when ENTRY is the
last one in a bucket, advance to the next bucket.
From Alexandre Duret-Lutz.

24 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 12:08:22 +0000 (12:08 +0000)]
*** empty log message ***

24 years agolist the source
Jim Meyering [Fri, 3 Nov 2000 11:12:01 +0000 (11:12 +0000)]
list the source

24 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 11:11:45 +0000 (11:11 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Fri, 3 Nov 2000 10:27:01 +0000 (10:27 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 09:03:37 +0000 (09:03 +0000)]
*** empty log message ***

24 years ago(TESTS): Add sample-vec.
Jim Meyering [Fri, 3 Nov 2000 09:03:30 +0000 (09:03 +0000)]
(TESTS): Add sample-vec.

24 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 08:47:20 +0000 (08:47 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 08:44:12 +0000 (08:44 +0000)]
*** empty log message ***

24 years agocppi
Jim Meyering [Fri, 3 Nov 2000 08:44:06 +0000 (08:44 +0000)]
cppi

24 years agoDo not comment out all the code if we are using
Jim Meyering [Fri, 3 Nov 2000 08:43:20 +0000 (08:43 +0000)]
Do not comment out all the code if we are using
the GNU C library, because in some cases we are replacing buggy
code in the GNU C library itself.

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 19:37:11 +0000 (19:37 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 17:05:17 +0000 (17:05 +0000)]
*** empty log message ***

24 years agoargh!! use pack's `B', not `b' format
Jim Meyering [Thu, 2 Nov 2000 17:04:23 +0000 (17:04 +0000)]
argh!!  use pack's `B', not `b' format

24 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 09:51:17 +0000 (09:51 +0000)]
*** empty log message ***

24 years agoremove const attribute for PARENTS FILEUTILS-4_0_30
Jim Meyering [Wed, 1 Nov 2000 17:53:35 +0000 (17:53 +0000)]
remove const attribute for PARENTS

24 years agoFix bad typo! free the string, PARENTS, not the function, dir_name.
Jim Meyering [Wed, 1 Nov 2000 17:52:43 +0000 (17:52 +0000)]
Fix bad typo!  free the string, PARENTS, not the function, dir_name.

24 years ago*** empty log message ***
Jim Meyering [Wed, 1 Nov 2000 17:33:19 +0000 (17:33 +0000)]
*** empty log message ***

24 years ago(main): Better diagnostics.
Jim Meyering [Wed, 1 Nov 2000 17:33:09 +0000 (17:33 +0000)]
(main): Better diagnostics.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 22:03:47 +0000 (22:03 +0000)]
*** empty log message ***

24 years agoClean up indentation and punctuation.
Jim Meyering [Tue, 31 Oct 2000 22:03:42 +0000 (22:03 +0000)]
Clean up indentation and punctuation.
Fix a couple typos.  From Brian Youmans.

24 years agoAdd all the internationalization-related
Jim Meyering [Tue, 31 Oct 2000 19:33:30 +0000 (19:33 +0000)]
Add all the internationalization-related
variable names autoconf uses.  Set and export them in a loop.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:29:22 +0000 (19:29 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:29:05 +0000 (19:29 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:26:32 +0000 (19:26 +0000)]
*** empty log message ***

24 years ago`mkdir -p' would create parent directories with permissions
Jim Meyering [Tue, 31 Oct 2000 19:25:50 +0000 (19:25 +0000)]
`mkdir -p' would create parent directories with permissions
that did not account for the umask. [introduced with the
2000-09-30 change that became part of fileutils-4.0.28]

Include dirname.h.
Compute the parent directory `mode' unconditionally, effectively
as `$(umask -S),u+wx'.
Use make_path to create only the parent directories, thus using
the same code, both with and without -p, to create the final
component in each file name.  Reported by Bob Proulx.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 10:46:30 +0000 (10:46 +0000)]
*** empty log message ***

24 years agoMuch improved.
Jim Meyering [Tue, 31 Oct 2000 10:46:24 +0000 (10:46 +0000)]
Much improved.
Run each test also with mkdir's `-p' option and check permissions
on the parent directories.

24 years agouse backticks and sed instead of set and shift
Jim Meyering [Tue, 31 Oct 2000 08:31:30 +0000 (08:31 +0000)]
use backticks and sed instead of set and shift

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 08:12:38 +0000 (08:12 +0000)]
*** empty log message ***

24 years agoAdd some permission tests.
Jim Meyering [Tue, 31 Oct 2000 08:12:28 +0000 (08:12 +0000)]
Add some permission tests.

24 years agoFix the test so it actually does something.
Jim Meyering [Tue, 31 Oct 2000 07:57:29 +0000 (07:57 +0000)]
Fix the test so it actually does something.
Run each test also with mkdir's `-p' option.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:15:54 +0000 (07:15 +0000)]
*** empty log message ***

24 years agoUse @sc where appropriate. Document the
Jim Meyering [Tue, 31 Oct 2000 07:15:42 +0000 (07:15 +0000)]
Use @sc where appropriate.  Document the
ranges of supported times more precisely.  Correct menu
spacing.  Document old Latin 12m/12pm tradition.  Remove list
of alphabetic time zone names, as it wasn't correct and people
shouldn't be relying on it anyway.  Relative items also
account for non-DST adjustments.  Fix some misspellings.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:10:03 +0000 (07:10 +0000)]
*** empty log message ***

24 years agoAdd "2000" to Copyright line, as this file was changed this year.
Jim Meyering [Tue, 31 Oct 2000 07:09:56 +0000 (07:09 +0000)]
Add "2000" to Copyright line, as this file was changed this year.

24 years agoRemove "2000" from Copyright line, as the file hasn't been
Jim Meyering [Tue, 31 Oct 2000 07:09:40 +0000 (07:09 +0000)]
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.

24 years agoRemove "2000" from Copyright line, as the file hasn't been
Jim Meyering [Tue, 31 Oct 2000 07:09:02 +0000 (07:09 +0000)]
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.

24 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:07:26 +0000 (07:07 +0000)]
*** empty log message ***

24 years ago(FOLD): Do not assume that characters are unsigned.
Jim Meyering [Tue, 31 Oct 2000 07:07:05 +0000 (07:07 +0000)]
(FOLD): Do not assume that characters are unsigned.
(fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero.

24 years ago.
Jim Meyering [Mon, 30 Oct 2000 17:52:42 +0000 (17:52 +0000)]
.

24 years ago.
Jim Meyering [Mon, 30 Oct 2000 17:51:06 +0000 (17:51 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 30 Oct 2000 17:50:29 +0000 (17:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 30 Oct 2000 17:50:03 +0000 (17:50 +0000)]
*** empty log message ***