platform/upstream/coreutils.git
27 years ago*** empty log message ***
Jim Meyering [Mon, 30 Jun 1997 04:00:48 +0000 (04:00 +0000)]
*** empty log message ***

27 years ago. SH-UTILS-1_16b
Jim Meyering [Mon, 30 Jun 1997 03:53:28 +0000 (03:53 +0000)]
.

27 years ago.
Jim Meyering [Mon, 30 Jun 1997 01:58:23 +0000 (01:58 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 22:26:54 +0000 (22:26 +0000)]
*** empty log message ***

27 years ago(base_name_strip_trailing_slashes): Remove.
Jim Meyering [Sun, 29 Jun 1997 22:26:18 +0000 (22:26 +0000)]
(base_name_strip_trailing_slashes): Remove.

27 years ago(base_name_strip_trailing_slashes): new function.
Jim Meyering [Sun, 29 Jun 1997 22:25:54 +0000 (22:25 +0000)]
(base_name_strip_trailing_slashes): new function.

27 years ago(copy): Add FIXME comment.
Jim Meyering [Sun, 29 Jun 1997 22:24:26 +0000 (22:24 +0000)]
(copy): Add FIXME comment.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 22:21:51 +0000 (22:21 +0000)]
*** empty log message ***

27 years ago(copy_reg): New parameter, SOURCE_STATS.
Jim Meyering [Sun, 29 Jun 1997 22:21:42 +0000 (22:21 +0000)]
(copy_reg): New parameter, SOURCE_STATS.
(do_move): Update caller.
(movefile): Take new boolean parameter, DEST_IS_DIR,
to save a stat per moved file when the destination is a directory.
(main): Call movefile with additional argument.
(strip_trailing_slashes_2): New function.
(movefile): Remove trailing slashes from dest.  Otherwise, stat ("b/")
fails with ENOTDIR on systems including Linux w/libc 2.0.30.
Reproduce with `rm -rf a b; mkdir a; touch b; ./mv a b/'.
(do_move): Fix misleading comment.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 21:24:26 +0000 (21:24 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 21:13:33 +0000 (21:13 +0000)]
*** empty log message ***

27 years agoRemove _sys_putenv cruft and just rename the function itself.
Jim Meyering [Sun, 29 Jun 1997 21:05:05 +0000 (21:05 +0000)]
Remove _sys_putenv cruft and just rename the function itself.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 20:26:38 +0000 (20:26 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 29 Jun 1997 20:24:27 +0000 (20:24 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 20:21:38 +0000 (20:21 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 20:19:45 +0000 (20:19 +0000)]
*** empty log message ***

27 years agofix it right
Jim Meyering [Sun, 29 Jun 1997 20:18:58 +0000 (20:18 +0000)]
fix it right

27 years agoDefine-away putenv only if it's not already defined.
Jim Meyering [Sun, 29 Jun 1997 20:12:52 +0000 (20:12 +0000)]
Define-away putenv only if it's not already defined.

27 years ago.
Jim Meyering [Sun, 29 Jun 1997 13:52:16 +0000 (13:52 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 13:50:57 +0000 (13:50 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 13:49:53 +0000 (13:49 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 29 Jun 1997 13:34:51 +0000 (13:34 +0000)]
.

27 years agoSet and export LANGUAGE, LC_ALL, and LANG
Jim Meyering [Sun, 29 Jun 1997 12:19:43 +0000 (12:19 +0000)]
Set and export LANGUAGE, LC_ALL, and LANG
so tests get english strings.  From Ulrich Drepper.

27 years ago.
Jim Meyering [Sun, 29 Jun 1997 03:27:24 +0000 (03:27 +0000)]
.

27 years agoMove the OPENOPTS def from end to beginning of else clause so it's closer
Jim Meyering [Sun, 29 Jun 1997 01:56:36 +0000 (01:56 +0000)]
Move the OPENOPTS def from end to beginning of else clause so it's closer
to the one in the then clause.

27 years agoupdate from automake-1.2 SH-UTILS-1_16a
Jim Meyering [Wed, 25 Jun 1997 17:05:56 +0000 (17:05 +0000)]
update from automake-1.2

27 years ago.
Jim Meyering [Wed, 25 Jun 1997 17:01:22 +0000 (17:01 +0000)]
.

27 years ago.
Jim Meyering [Wed, 25 Jun 1997 16:08:03 +0000 (16:08 +0000)]
.

27 years ago.
Jim Meyering [Wed, 25 Jun 1997 15:38:35 +0000 (15:38 +0000)]
.

27 years agoUse variable width columns when printing in multi-column mode.
Jim Meyering [Sun, 22 Jun 1997 19:52:24 +0000 (19:52 +0000)]
Use variable width columns when printing in multi-column mode.
(init_col_info): New function.
(print_current_files): Call init_col_info if format is
`many_per_line' or `horizontal'.
(print_many_per_line): Calculate optimum column widths.
(print_horizontal): Likewise.
From Ulrich Drepper.

27 years ago*** empty log message ***
Jim Meyering [Sun, 22 Jun 1997 04:04:07 +0000 (04:04 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 22 Jun 1997 04:01:43 +0000 (04:01 +0000)]
.

27 years ago.
Jim Meyering [Sun, 22 Jun 1997 03:51:36 +0000 (03:51 +0000)]
.

27 years ago.
Jim Meyering [Sun, 22 Jun 1997 03:50:14 +0000 (03:50 +0000)]
.

27 years ago.
Jim Meyering [Sun, 22 Jun 1997 03:49:51 +0000 (03:49 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 22 Jun 1997 03:38:08 +0000 (03:38 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 22 Jun 1997 03:32:37 +0000 (03:32 +0000)]
.

27 years ago.
Jim Meyering [Mon, 16 Jun 1997 18:02:08 +0000 (18:02 +0000)]
.

27 years ago.
Jim Meyering [Mon, 16 Jun 1997 18:01:32 +0000 (18:01 +0000)]
.

27 years agocomment
Jim Meyering [Mon, 16 Jun 1997 17:50:23 +0000 (17:50 +0000)]
comment

27 years ago.
Jim Meyering [Mon, 16 Jun 1997 17:42:33 +0000 (17:42 +0000)]
.

27 years ago(eval6): Accept new unary operator, quote.
Jim Meyering [Mon, 16 Jun 1997 17:01:24 +0000 (17:01 +0000)]
(eval6): Accept new unary operator, quote.
From Karl Heuer.

27 years ago*** empty log message ***
Jim Meyering [Mon, 16 Jun 1997 16:58:28 +0000 (16:58 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Mon, 16 Jun 1997 16:57:55 +0000 (16:57 +0000)]
.

27 years ago(EXTRA_DIST): Add putenv.m4.
Jim Meyering [Mon, 16 Jun 1997 16:57:02 +0000 (16:57 +0000)]
(EXTRA_DIST): Add putenv.m4.

27 years ago.
Jim Meyering [Mon, 16 Jun 1997 16:45:15 +0000 (16:45 +0000)]
.

27 years agoadd copyright
Jim Meyering [Mon, 16 Jun 1997 16:15:30 +0000 (16:15 +0000)]
add copyright

27 years agotweak error message
Jim Meyering [Mon, 16 Jun 1997 16:12:04 +0000 (16:12 +0000)]
tweak error message

27 years ago(full_write): Add comment regarding failure due to bug in
Jim Meyering [Sun, 15 Jun 1997 15:06:52 +0000 (15:06 +0000)]
(full_write): Add comment regarding failure due to bug in
Linux Slackware 1.2.13 kernel.

27 years ago.
Jim Meyering [Sun, 15 Jun 1997 13:35:02 +0000 (13:35 +0000)]
.

27 years agoRewrite using save-cwd.c and chdir to remove quadratic component of complexity.
Jim Meyering [Sun, 15 Jun 1997 13:34:47 +0000 (13:34 +0000)]
Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.
Before, it processed O(n^2) directory name components via stat and mkdir.
Now it's O(n).  This makes mkdir -p a lot more efficient when creating
directories with very many components.  On a Linux 2.0.30 ext2fs filesystem
this command: mkdir -p `perl -e 'print "a/" x 500'`  now runs in 0.77 seconds
(user+sys).  Contrast that with the 9.5(!) seconds it took before.

27 years agoAdd test that -o 0 works.
Jim Meyering [Sun, 15 Jun 1997 11:47:46 +0000 (11:47 +0000)]
Add test that -o 0 works.

27 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jun 1997 11:42:55 +0000 (11:42 +0000)]
*** empty log message ***

27 years ago(init_header) [T_BUF_FMT]: Output the 4-digit year (not the
Jim Meyering [Sun, 15 Jun 1997 11:40:47 +0000 (11:40 +0000)]
(init_header) [T_BUF_FMT]: Output the 4-digit year (not the
2-digit abbreviation) in each page header.  Reported by Noah Friedman.

27 years ago*** empty log message ***
Jim Meyering [Sat, 14 Jun 1997 19:33:13 +0000 (19:33 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sat, 14 Jun 1997 17:32:00 +0000 (17:32 +0000)]
*** empty log message ***

27 years ago(cut_fields): Detect when the input is empty and handle
Jim Meyering [Sat, 14 Jun 1997 17:31:40 +0000 (17:31 +0000)]
(cut_fields): Detect when the input is empty and handle
that special case.  Before `cut -f1 </dev/null' would improperly
output a single newline.  Reported by Phil Richards.

27 years ago.
Jim Meyering [Sat, 14 Jun 1997 16:45:00 +0000 (16:45 +0000)]
.

27 years ago.
Jim Meyering [Sat, 14 Jun 1997 16:36:22 +0000 (16:36 +0000)]
.

27 years agoproof reading from kb
Jim Meyering [Fri, 13 Jun 1997 16:07:12 +0000 (16:07 +0000)]
proof reading from kb

27 years ago.
Jim Meyering [Thu, 12 Jun 1997 16:40:53 +0000 (16:40 +0000)]
.

27 years agodocument expr's new quote operator
Jim Meyering [Thu, 12 Jun 1997 16:32:08 +0000 (16:32 +0000)]
document expr's new quote operator

27 years ago*** empty log message ***
Jim Meyering [Thu, 12 Jun 1997 15:07:26 +0000 (15:07 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Thu, 12 Jun 1997 15:07:05 +0000 (15:07 +0000)]
*** empty log message ***

27 years agoremove blank line at end and add copyright
Jim Meyering [Thu, 12 Jun 1997 12:58:47 +0000 (12:58 +0000)]
remove blank line at end and add copyright
tweak cpp indentation

27 years ago*** empty log message ***
Jim Meyering [Thu, 12 Jun 1997 11:51:11 +0000 (11:51 +0000)]
*** empty log message ***

27 years ago(eval6): Accept new unary operator, quote. From Karl Heuer.
Jim Meyering [Thu, 12 Jun 1997 11:50:58 +0000 (11:50 +0000)]
(eval6): Accept new unary operator, quote.  From Karl Heuer.

27 years agoAdd comment for posixly_correct.
Jim Meyering [Thu, 12 Jun 1997 11:47:34 +0000 (11:47 +0000)]
Add comment for posixly_correct.

27 years agofix typo in expr/index doc.
Jim Meyering [Thu, 12 Jun 1997 11:27:04 +0000 (11:27 +0000)]
fix typo in expr/index doc.
from kwzh

27 years ago.
Jim Meyering [Wed, 11 Jun 1997 20:19:30 +0000 (20:19 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Wed, 11 Jun 1997 20:19:23 +0000 (20:19 +0000)]
*** empty log message ***

27 years ago(docolon): Test (re_buffer.re_nsub > 0) rather than
Jim Meyering [Wed, 11 Jun 1997 20:18:15 +0000 (20:18 +0000)]
(docolon): Test (re_buffer.re_nsub > 0) rather than
searching for `\(' to determine whether to return 0 or the empty
string.  Before it would improperly return '' if the pattern
contained a substring like this: `\\('.  From Karl Heuer.
For example, running expr c : '\\(' should print `0'.

27 years ago.
Jim Meyering [Fri, 6 Jun 1997 14:30:11 +0000 (14:30 +0000)]
.

27 years ago.
Jim Meyering [Tue, 3 Jun 1997 20:01:55 +0000 (20:01 +0000)]
.

27 years ago[HAVE_UNISTD_H]: Include unistd.h.
Jim Meyering [Tue, 3 Jun 1997 20:01:47 +0000 (20:01 +0000)]
[HAVE_UNISTD_H]: Include unistd.h.
John Gatewood Ham reported that this is necessary for DJGPP/Win95.

27 years ago*** empty log message ***
Jim Meyering [Tue, 3 Jun 1997 20:01:14 +0000 (20:01 +0000)]
*** empty log message ***

27 years ago.
Jim Meyering [Mon, 2 Jun 1997 14:29:50 +0000 (14:29 +0000)]
.

27 years ago.
Jim Meyering [Sun, 1 Jun 1997 18:47:56 +0000 (18:47 +0000)]
.

27 years ago.
Jim Meyering [Sun, 1 Jun 1997 17:59:08 +0000 (17:59 +0000)]
.

27 years ago(mk-script): Depend on ../../config.status.
Jim Meyering [Sun, 1 Jun 1997 17:58:27 +0000 (17:58 +0000)]
(mk-script): Depend on ../../config.status.

27 years ago.
Jim Meyering [Sun, 1 Jun 1997 17:20:42 +0000 (17:20 +0000)]
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 1 Jun 1997 17:20:31 +0000 (17:20 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 1 Jun 1997 17:16:30 +0000 (17:16 +0000)]
*** empty log message ***

27 years agoAdd tests using `next'.
Jim Meyering [Sun, 1 Jun 1997 17:16:23 +0000 (17:16 +0000)]
Add tests using `next'.

27 years ago(OtherTable): Interpret `next' as 1 (not 2) units.
Jim Meyering [Sun, 1 Jun 1997 17:15:51 +0000 (17:15 +0000)]
(OtherTable): Interpret `next' as 1 (not 2) units.
Patch from Richard Sharman <rsharman@magmacom.com>.

27 years agofix for abs pathnames
Jim Meyering [Fri, 30 May 1997 14:00:47 +0000 (14:00 +0000)]
fix for abs pathnames

27 years agoindent cpp directives
Jim Meyering [Thu, 29 May 1997 13:20:25 +0000 (13:20 +0000)]
indent cpp directives

27 years agoupdate from automake-1.1p
Jim Meyering [Thu, 29 May 1997 13:19:34 +0000 (13:19 +0000)]
update from automake-1.1p

27 years agocorrect/normalize indentation in cpp directives
Jim Meyering [Wed, 28 May 1997 12:19:28 +0000 (12:19 +0000)]
correct/normalize indentation in cpp directives

27 years agoupdate from FSF
Jim Meyering [Wed, 28 May 1997 12:01:33 +0000 (12:01 +0000)]
update from FSF

27 years ago*** empty log message ***
Jim Meyering [Wed, 28 May 1997 11:43:25 +0000 (11:43 +0000)]
*** empty log message ***

27 years ago(read_filesystem_list): Add `|| defined (__OpenBSD__)'
Jim Meyering [Wed, 28 May 1997 11:42:29 +0000 (11:42 +0000)]
(read_filesystem_list): Add `|| defined (__OpenBSD__)'
to the NetBSD #if so OpenBSD also uses the f_fstypename member.
(fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if
expression to exclude this function definition.  OpenBSD 2.1 beta
doesn't need it.  Patch from Hugh Daniel <hugh@ecotone.xanadu.com>

27 years ago*** empty log message ***
Jim Meyering [Wed, 28 May 1997 11:40:16 +0000 (11:40 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Tue, 27 May 1997 14:17:08 +0000 (14:17 +0000)]
*** empty log message ***

27 years agoDon't include backupfile.h.
Jim Meyering [Tue, 27 May 1997 14:16:49 +0000 (14:16 +0000)]
Don't include backupfile.h.

27 years ago*** empty log message ***
Jim Meyering [Tue, 27 May 1997 13:55:45 +0000 (13:55 +0000)]
*** empty log message ***

27 years agoUse base_name, not basename.
Jim Meyering [Tue, 27 May 1997 13:55:23 +0000 (13:55 +0000)]
Use base_name, not basename.

27 years ago.
Jim Meyering [Tue, 27 May 1997 12:50:39 +0000 (12:50 +0000)]
.

27 years agoclean up for -Wall
Jim Meyering [Tue, 27 May 1997 11:05:40 +0000 (11:05 +0000)]
clean up for -Wall

27 years agoUse base_name, not basename.
Jim Meyering [Tue, 27 May 1997 11:04:41 +0000 (11:04 +0000)]
Use base_name, not basename.