]> git.ipfire.org Git - thirdparty/coreutils.git/log
thirdparty/coreutils.git
27 years agoUse PARAMS, not __P.
Jim Meyering [Sun, 21 Dec 1997 12:17:26 +0000 (12:17 +0000)] 
Use PARAMS, not __P.

27 years ago*** empty log message ***
Jim Meyering [Sun, 21 Dec 1997 12:11:32 +0000 (12:11 +0000)] 
*** empty log message ***

27 years agoincrement serial number
Jim Meyering [Sun, 21 Dec 1997 12:11:17 +0000 (12:11 +0000)] 
increment serial number

27 years agoincrement serial number
Jim Meyering [Sun, 21 Dec 1997 12:10:55 +0000 (12:10 +0000)] 
increment serial number

27 years agoincrement serial number
Jim Meyering [Sun, 21 Dec 1997 12:10:26 +0000 (12:10 +0000)] 
increment serial number

27 years agoFix reversed types on -1 args to chown.
Jim Meyering [Sun, 21 Dec 1997 12:10:07 +0000 (12:10 +0000)] 
Fix reversed types on -1 args to chown.
From Kaveh Ghazi.

27 years ago.
Jim Meyering [Sun, 21 Dec 1997 12:06:03 +0000 (12:06 +0000)] 
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 21 Dec 1997 12:05:56 +0000 (12:05 +0000)] 
*** empty log message ***

27 years agoInclude exclude.h.
Jim Meyering [Sun, 21 Dec 1997 12:05:42 +0000 (12:05 +0000)] 
Include exclude.h.
(exclude): New static var.
(long_options, usage, main): Add --exclude and --exclude-from or -X.
(count_entry): Skip excluded entries.

27 years agoremove FIXME-describe comments
Jim Meyering [Sun, 21 Dec 1997 11:57:17 +0000 (11:57 +0000)] 
remove FIXME-describe comments

27 years agoadd FIXME-describe comments
Jim Meyering [Sun, 21 Dec 1997 11:56:34 +0000 (11:56 +0000)] 
add FIXME-describe comments

27 years agoInclude exclude.h.
Jim Meyering [Sun, 21 Dec 1997 11:47:27 +0000 (11:47 +0000)] 
Include exclude.h.
(exclude): New static var.
(long_options, usage, main): Add --exclude and --exclude-from or -X.
(count_entry): Skip excluded entries.

27 years ago(libfu_a_SOURCES): Add exclude.c.
Jim Meyering [Sun, 21 Dec 1997 11:46:49 +0000 (11:46 +0000)] 
(libfu_a_SOURCES): Add exclude.c.
(noinst_HEADERS): Add exclude.h.

27 years ago.
Jim Meyering [Sun, 21 Dec 1997 11:43:34 +0000 (11:43 +0000)] 
.

27 years ago.
Jim Meyering [Sun, 21 Dec 1997 11:24:53 +0000 (11:24 +0000)] 
.

27 years agoUse PARAMS, not __P.
Jim Meyering [Sun, 21 Dec 1997 11:22:51 +0000 (11:22 +0000)] 
Use PARAMS, not __P.

27 years ago(rpl_chown): Rename from chown.
Jim Meyering [Sun, 21 Dec 1997 11:17:20 +0000 (11:17 +0000)] 
(rpl_chown): Rename from chown.
Undefine chown just after including config.h.
Include sys/stat.h.
Use correct ordering of uid and gid parameters both in function
definition and in call to chown.
With patches from Kaveh Ghazi.

27 years agos/__P/PARAMS/g
Jim Meyering [Tue, 16 Dec 1997 15:44:00 +0000 (15:44 +0000)] 
s/__P/PARAMS/g

27 years ago*** empty log message ***
Jim Meyering [Tue, 16 Dec 1997 15:43:01 +0000 (15:43 +0000)] 
*** empty log message ***

27 years agos/__P/PARAMS/g.
Jim Meyering [Tue, 16 Dec 1997 15:42:48 +0000 (15:42 +0000)] 
s/__P/PARAMS/g.

27 years ago*** empty log message ***
Jim Meyering [Tue, 16 Dec 1997 15:33:33 +0000 (15:33 +0000)] 
*** empty log message ***

27 years agos/__P/PARAMS/g
Jim Meyering [Tue, 16 Dec 1997 15:32:32 +0000 (15:32 +0000)] 
s/__P/PARAMS/g

27 years ago.
Jim Meyering [Tue, 16 Dec 1997 15:16:20 +0000 (15:16 +0000)] 
.

27 years ago*** empty log message ***
Jim Meyering [Tue, 16 Dec 1997 15:13:06 +0000 (15:13 +0000)] 
*** empty log message ***

27 years agotweak indentation
Jim Meyering [Tue, 16 Dec 1997 15:11:23 +0000 (15:11 +0000)] 
tweak indentation

27 years ago(struct bin_str): Make len int, not unsigned, to avoid
Jim Meyering [Tue, 16 Dec 1997 15:09:19 +0000 (15:09 +0000)] 
(struct bin_str): Make len int, not unsigned, to avoid
bogus comparison < 0.
(quote_filename): Add forward decl.
(decode_switches): -b, -e, -N, -Q are now mutually exclusive.
(print_dir): Quote directory name as per quoting options.
(print_long_format): Don't count color changes as part of file name.
(quote_filename): Revamp interface: now accepts stream to output to
and filename, and returns length of quoted filename.
This removes duplicated code and should make errors less likely.
Also, no longer mallocs storage.  All callers changed.
Don't quote ' ' if -Q.
(OUTCHAR): New macro.
(SAVECHAR, SAVE_2_CHARS): Remove.
(print_name_with_quoting): New stack arg.  All callers changed.
(print_color_indicator): Cast ext len to size_t to avoid warning
with GCC 2.8.
(length_of_file_name_and_frills): Rewrite to use quote_filename.
This fixes bug when computing file name length with -e.
1997-12-14  Paul Eggert  <eggert@twinsun.com>
Add shell style quoting, and make it the default.
* NEWS, doc/fileutils.texi: Describe -e, which is now the default.
Describe change to --dired output.
* src/ls.c (quote_shell): New var.
(long_options, decode_switches, usage): New option -e or --quote-shell.
(dired_dump_obstack): New arg STYLE.
(main): Pass quoting style to dired_dump_obstack.
(decode_switches): -N now clears quote_as_string.
(quote_filename): Add shell style quoting.

27 years ago(deep): Remove `find > k' debugging remnant.
Jim Meyering [Mon, 15 Dec 1997 11:35:22 +0000 (11:35 +0000)] 
(deep): Remove `find > k' debugging remnant.

27 years agoMake sure we get diagnostics in English.
Jim Meyering [Sun, 14 Dec 1997 21:51:44 +0000 (21:51 +0000)] 
Make sure we get diagnostics in English.

27 years agoRemove lseek and memchr dcls. FILEUTILS-3_16g
Jim Meyering [Sun, 14 Dec 1997 16:28:18 +0000 (16:28 +0000)] 
Remove lseek and memchr dcls.

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 16:28:06 +0000 (16:28 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 16:25:06 +0000 (16:25 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 15:38:18 +0000 (15:38 +0000)] 
*** empty log message ***

27 years ago(ASSIGN_STRDUPA): Cast alloca return value to char*.
Jim Meyering [Sun, 14 Dec 1997 15:38:04 +0000 (15:38 +0000)] 
(ASSIGN_STRDUPA): Cast alloca return value to char*.

27 years agos/HAVE_DECLARATION_/HAVE_DECL_/.
Jim Meyering [Sun, 14 Dec 1997 15:15:07 +0000 (15:15 +0000)] 
s/HAVE_DECLARATION_/HAVE_DECL_/.

27 years agocast memcpy to char*
Jim Meyering [Sun, 14 Dec 1997 15:12:29 +0000 (15:12 +0000)] 
cast memcpy to char*

27 years agoAdd #serial 1.
Jim Meyering [Sun, 14 Dec 1997 15:03:38 +0000 (15:03 +0000)] 
Add #serial 1.

27 years agoadd memchr dcl
Jim Meyering [Sun, 14 Dec 1997 14:00:15 +0000 (14:00 +0000)] 
add memchr dcl

27 years agos/HAVE_DECLARATION/HAVE_DECL_/g
Jim Meyering [Sun, 14 Dec 1997 12:40:33 +0000 (12:40 +0000)] 
s/HAVE_DECLARATION/HAVE_DECL_/g

27 years agoadd lseek
Jim Meyering [Sun, 14 Dec 1997 12:03:55 +0000 (12:03 +0000)] 
add lseek

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 12:03:38 +0000 (12:03 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 08:03:18 +0000 (08:03 +0000)] 
*** empty log message ***

27 years agos/DECLARATION_/DECL_/g.
Jim Meyering [Sun, 14 Dec 1997 08:03:07 +0000 (08:03 +0000)] 
s/DECLARATION_/DECL_/g.
Add memchr.

27 years ago*** empty log message ***
Jim Meyering [Sun, 14 Dec 1997 07:44:38 +0000 (07:44 +0000)] 
*** empty log message ***

27 years agos/HAVE_DECLARATION_/HAVE_DECL_/g
Jim Meyering [Sun, 14 Dec 1997 07:40:32 +0000 (07:40 +0000)] 
s/HAVE_DECLARATION_/HAVE_DECL_/g

27 years ago*** empty log message ***
Jim Meyering [Sat, 13 Dec 1997 23:42:54 +0000 (23:42 +0000)] 
*** empty log message ***

27 years ago(main): Add some braces.
Jim Meyering [Sat, 13 Dec 1997 23:39:09 +0000 (23:39 +0000)] 
(main): Add some braces.
Check return code from fclose of each input file.
Close stdout and check for errors.

27 years ago(close_output_file): Check ferror before calling fclose.
Jim Meyering [Sat, 13 Dec 1997 23:38:53 +0000 (23:38 +0000)] 
(close_output_file): Check ferror before calling fclose.
(main): Close stdout and check for errors.

27 years ago.
Jim Meyering [Sat, 13 Dec 1997 22:56:50 +0000 (22:56 +0000)] 
.

27 years ago.
Jim Meyering [Sat, 13 Dec 1997 22:55:52 +0000 (22:55 +0000)] 
.

27 years ago.
Jim Meyering [Sat, 13 Dec 1997 22:54:01 +0000 (22:54 +0000)] 
.

27 years agoChange --help output to tell the truth: that for of=FILE,
Jim Meyering [Sat, 13 Dec 1997 22:49:33 +0000 (22:49 +0000)] 
Change --help output to tell the truth: that for of=FILE,
FILE *is* truncated.  Reported by Miles Bader.
Remove incomplete, usage-like comment at top of file.

27 years ago(usage): Mention that `notrunc' is a conv= option.
Jim Meyering [Sat, 13 Dec 1997 17:01:54 +0000 (17:01 +0000)] 
(usage): Mention that `notrunc' is a conv= option.
Reported by Miles Bader.

27 years ago.
Jim Meyering [Sat, 13 Dec 1997 16:23:06 +0000 (16:23 +0000)] 
.

27 years ago(do_move): If rename fails for any reason (not just when
Jim Meyering [Sat, 13 Dec 1997 16:22:58 +0000 (16:22 +0000)] 
(do_move): If rename fails for any reason (not just when
errno == EXDEV), then revert to trying copy-then-unlink.  This is
necessary to allow moving files within certain types of Linux NFS
mounted filesystems.  Reported by Marty Leisner.

27 years ago*** empty log message ***
Jim Meyering [Sat, 13 Dec 1997 16:13:34 +0000 (16:13 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Thu, 11 Dec 1997 18:18:22 +0000 (18:18 +0000)] 
*** empty log message ***

27 years ago.
Jim Meyering [Thu, 11 Dec 1997 08:40:21 +0000 (08:40 +0000)] 
.

27 years ago(do_link): Don't require --force when target exists and
Jim Meyering [Thu, 11 Dec 1997 08:40:10 +0000 (08:40 +0000)] 
(do_link): Don't require --force when target exists and
using --backup.  This changes makes ln consistent with cp and mv in
this respect.  Suggestion from Eli Zaretskii.

27 years ago*** empty log message ***
Jim Meyering [Wed, 10 Dec 1997 11:17:16 +0000 (11:17 +0000)] 
*** empty log message ***

27 years agouse NULL, '\0' instead of zeroes
Jim Meyering [Wed, 10 Dec 1997 10:31:25 +0000 (10:31 +0000)] 
use NULL, '\0' instead of zeroes

27 years ago(main): Make sure pw->pw_shell is non-NULL before trying to strdup it.
Jim Meyering [Wed, 10 Dec 1997 10:25:46 +0000 (10:25 +0000)] 
(main): Make sure pw->pw_shell is non-NULL before trying to strdup it.
Patch from Dick Streefland.

27 years ago.
Jim Meyering [Sat, 6 Dec 1997 21:18:14 +0000 (21:18 +0000)] 
.

27 years ago.
Jim Meyering [Sat, 6 Dec 1997 21:16:57 +0000 (21:16 +0000)] 
.

27 years agorevert last change
Jim Meyering [Sat, 6 Dec 1997 21:09:58 +0000 (21:09 +0000)] 
revert last change

27 years agouse SORT_INITIAL_LINE_LENGTH envvar for testing
Jim Meyering [Sat, 6 Dec 1997 21:09:30 +0000 (21:09 +0000)] 
use SORT_INITIAL_LINE_LENGTH envvar for testing

27 years ago*** empty log message ***
Jim Meyering [Sat, 6 Dec 1997 21:08:41 +0000 (21:08 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sat, 6 Dec 1997 18:23:51 +0000 (18:23 +0000)] 
*** empty log message ***

27 years ago.
Jim Meyering [Sat, 6 Dec 1997 13:42:21 +0000 (13:42 +0000)] 
.

27 years ago(fillbuf): split longer-than-80-char line
Jim Meyering [Sat, 6 Dec 1997 12:13:52 +0000 (12:13 +0000)] 
(fillbuf): split longer-than-80-char line

27 years ago.
Jim Meyering [Sat, 6 Dec 1997 09:20:26 +0000 (09:20 +0000)] 
.

27 years ago.
Jim Meyering [Sat, 6 Dec 1997 09:18:32 +0000 (09:18 +0000)] 
.

27 years agoSeparate struct dcl and typedef.
Jim Meyering [Sat, 6 Dec 1997 08:57:14 +0000 (08:57 +0000)] 
Separate struct dcl and typedef.
(String *): Rename from parameter-shadowed `string'.
(stringstruct): Remove typedef.

27 years ago(re_compile_fastmap): Remove dcl of unused num_regs.
Jim Meyering [Sat, 6 Dec 1997 08:27:25 +0000 (08:27 +0000)] 
(re_compile_fastmap): Remove dcl of unused num_regs.

27 years ago*** empty log message *** TEXTUTILS-1_22c
Jim Meyering [Sun, 30 Nov 1997 15:17:48 +0000 (15:17 +0000)] 
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 30 Nov 1997 15:14:10 +0000 (15:14 +0000)] 
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 14:22:56 +0000 (14:22 +0000)] 
*** empty log message ***

27 years ago(savedir): Revert last change. malloc always
Jim Meyering [Sun, 30 Nov 1997 14:20:17 +0000 (14:20 +0000)] 
(savedir): Revert last change.  malloc always
works when called with zero, because we use the wrapper if the
system version is lacking.

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 13:44:02 +0000 (13:44 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 13:43:36 +0000 (13:43 +0000)] 
*** empty log message ***

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 13:37:44 +0000 (13:37 +0000)] 
*** empty log message ***

27 years ago(EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
Jim Meyering [Sun, 30 Nov 1997 13:35:45 +0000 (13:35 +0000)] 
(EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.

27 years ago.
Jim Meyering [Sun, 30 Nov 1997 13:35:35 +0000 (13:35 +0000)] 
.

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 13:35:25 +0000 (13:35 +0000)] 
*** empty log message ***

27 years agofilter through cppi
Jim Meyering [Sun, 30 Nov 1997 11:17:28 +0000 (11:17 +0000)] 
filter through cppi

27 years agoremove trailing blank
Jim Meyering [Sun, 30 Nov 1997 11:16:14 +0000 (11:16 +0000)] 
remove trailing blank

27 years agoremove trailing blank
Jim Meyering [Sun, 30 Nov 1997 11:15:27 +0000 (11:15 +0000)] 
remove trailing blank

27 years agoremove trailing blank
Jim Meyering [Sun, 30 Nov 1997 11:15:02 +0000 (11:15 +0000)] 
remove trailing blank

27 years ago*** empty log message ***
Jim Meyering [Sun, 30 Nov 1997 11:13:34 +0000 (11:13 +0000)] 
*** empty log message ***

27 years ago.
Jim Meyering [Sun, 30 Nov 1997 11:13:18 +0000 (11:13 +0000)] 
.

27 years ago(human_readable): Convert to ANSI-style definition.
Jim Meyering [Sun, 30 Nov 1997 11:10:24 +0000 (11:10 +0000)] 
(human_readable): Convert to ANSI-style definition.
[lint]: Define `power'.

27 years agofilter through cppi
Jim Meyering [Sun, 30 Nov 1997 11:08:39 +0000 (11:08 +0000)] 
filter through cppi

27 years ago.
Jim Meyering [Sun, 30 Nov 1997 11:08:23 +0000 (11:08 +0000)] 
.

27 years ago(print_long_format): Rename inner-scoped `buf' arrays to `hbuf'
Jim Meyering [Sun, 30 Nov 1997 11:07:49 +0000 (11:07 +0000)] 
(print_long_format): Rename inner-scoped `buf' arrays to `hbuf'
to avoid shadowing local.

27 years ago(change_dir_owner): Cast st_size arg to unsigned int in savedir call.
Jim Meyering [Sun, 30 Nov 1997 11:05:34 +0000 (11:05 +0000)] 
(change_dir_owner): Cast st_size arg to unsigned int in savedir call.

27 years ago(change_dir_mode): Cast st_size arg to unsigned int in savedir call.
Jim Meyering [Sun, 30 Nov 1997 11:05:10 +0000 (11:05 +0000)] 
(change_dir_mode): Cast st_size arg to unsigned int in savedir call.

27 years ago(full_filename): Use memcpy, not mempcpy when not using the return value.
Jim Meyering [Sun, 30 Nov 1997 11:02:47 +0000 (11:02 +0000)] 
(full_filename): Use memcpy, not mempcpy when not using the return value.

27 years agofilter through cppi
Jim Meyering [Sun, 30 Nov 1997 11:01:54 +0000 (11:01 +0000)] 
filter through cppi

27 years ago(<limits.h>): Include if HAVE_LIMITS_H.
Jim Meyering [Sun, 30 Nov 1997 10:25:21 +0000 (10:25 +0000)] 
(<limits.h>): Include if HAVE_LIMITS_H.
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX, UINT_MAX):
New macros.
(ST_NBLOCKS): Now counts actual blocks, not 512-byte blocks.
(ST_NBLOCKSIZE): New macro.

27 years ago(<inttypes.h>): Include if HAVE_INTTYPES_H.
Jim Meyering [Sun, 30 Nov 1997 10:25:16 +0000 (10:25 +0000)] 
(<inttypes.h>): Include if HAVE_INTTYPES_H.
("human.h"): Include.
(<limits.h>): Don't include; system.h does it now.
(INT_MAX): Remove.
(longdiff): Remove bogus definition that uses subtraction;
it gives the wrong answer when overflows occur.
(convert_blocks): Remove.
(output_units): New variable;
replaces booleans kilobyte_blocks and megabyte_blocks.
(human_readable_base): New variable.
(long_options, usage): Add -h or --human-readable and -H or --si.
(decode_switches): Adjust to renamed option variables.
Use -H if BLOCKSIZE is SI.  Add -h, -H.
(print_dir): Count blocks using uintmax_t, not int.
(gobble_file): Now returns uintmax_t, not int.
Don't convert blocks to 512 byte units, as this might overflow;
let caller handle the problem.  Deduce what caller will print
by invoking human_readable.
(print_long_format, print_file_name_and_frills): Don't assume
inode number, block count, file size fit in unsigned long.
Use human_readable to do block count conversion and to print
file sizes.
(prep_non_filename_text): Print decimal string for time if
localtime fails due to enormous time_t.

27 years ago(BITSPERBYTE): Remove.
Jim Meyering [Sun, 30 Nov 1997 10:25:11 +0000 (10:25 +0000)] 
(BITSPERBYTE): Remove.
(UID_T_MAX, GID_T_MAX): Define in terms of TYPE_MAXIMUM.