platform/upstream/coreutils.git
25 years ago*** empty log message ***
Jim Meyering [Mon, 3 May 1999 03:56:46 +0000 (03:56 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Mon, 3 May 1999 02:46:54 +0000 (02:46 +0000)]
.

25 years ago.
Jim Meyering [Mon, 3 May 1999 02:45:51 +0000 (02:45 +0000)]
.

25 years ago(main): Give a better diagnostic when we fail to set the hostname.
Jim Meyering [Mon, 3 May 1999 02:45:37 +0000 (02:45 +0000)]
(main): Give a better diagnostic when we fail to set the hostname.

25 years ago(main): Manually handle `--', since we no longer call getopt.
Jim Meyering [Mon, 3 May 1999 02:42:49 +0000 (02:42 +0000)]
(main): Manually handle `--', since we no longer call getopt.

25 years ago(read_utmp): Ignore the return value from utmpname.
Jim Meyering [Mon, 3 May 1999 02:38:50 +0000 (02:38 +0000)]
(read_utmp): Ignore the return value from utmpname.

25 years agoDefine several tag-related make variables.
Jim Meyering [Sat, 1 May 1999 04:33:45 +0000 (04:33 +0000)]
Define several tag-related make variables.
(cvs-dist): Use the make variables instead of shell ones.
(announcement): Automatically generate diffs for all ChangeLog files,
not just the top level one.

25 years ago*** empty log message ***
Jim Meyering [Sat, 1 May 1999 04:15:43 +0000 (04:15 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 1 May 1999 04:15:09 +0000 (04:15 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 1 May 1999 04:13:56 +0000 (04:13 +0000)]
*** empty log message ***

25 years ago(AC_REPLACE_FUNCS): Add dup2.
Jim Meyering [Sat, 1 May 1999 04:13:45 +0000 (04:13 +0000)]
(AC_REPLACE_FUNCS): Add dup2.

25 years ago(main): Manually handle `--', since we no longer
Jim Meyering [Sat, 1 May 1999 02:29:17 +0000 (02:29 +0000)]
(main): Manually handle `--', since we no longer
call getopt.  Reported by Joseph S. Myers.

25 years ago(main): Manually handle `--', since we no longer
Jim Meyering [Sat, 1 May 1999 02:28:54 +0000 (02:28 +0000)]
(main): Manually handle `--', since we no longer
call getopt.  Reported by Joseph S. Myers.

25 years ago(decode_switches): Use STDIN_FILENO, STDOUT_FILENO instead of 0, 1.
Jim Meyering [Sat, 1 May 1999 02:08:30 +0000 (02:08 +0000)]
(decode_switches): Use STDIN_FILENO, STDOUT_FILENO instead of 0, 1.

25 years agoAlways use STDIN_FILENO for input and STDOUT_FILENO
Jim Meyering [Sat, 1 May 1999 02:05:56 +0000 (02:05 +0000)]
Always use STDIN_FILENO for input and STDOUT_FILENO
for output, to avoid confusion with closed input and output fds.
(input_fd, output_fd): Remove; all uses changed to STDIN_FILENO
and STDOUT_FILENO.
(open_fd): New function.
(main): Use it, instead of open, to ensure that file descriptors
don't get confused.

(skip): Don't fstat the input file; the result is no longer used.

25 years ago*** empty log message ***
Jim Meyering [Sat, 1 May 1999 00:13:13 +0000 (00:13 +0000)]
*** empty log message ***

25 years ago(usage): Document the differences between the
Jim Meyering [Sat, 1 May 1999 00:12:26 +0000 (00:12 +0000)]
(usage): Document the differences between the
obsolescent, +POS1[-POS2] form, and the POSIX -k option.

25 years agoadd emphasis that sort's -k M,N is inclusive
Jim Meyering [Fri, 30 Apr 1999 22:35:54 +0000 (22:35 +0000)]
add emphasis that sort's -k M,N is inclusive

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Apr 1999 20:59:49 +0000 (20:59 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Apr 1999 16:48:09 +0000 (16:48 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Apr 1999 16:03:53 +0000 (16:03 +0000)]
*** empty log message ***

25 years agoUpdate to reflect this change by reversing
Jim Meyering [Fri, 30 Apr 1999 16:03:46 +0000 (16:03 +0000)]
Update to reflect this change by reversing
the order of arguments so the symlink is the source, not the
destination (otherwise, the mv command would now succeed).

25 years ago(copy_internal): Move the one-file-system test so that
Jim Meyering [Fri, 30 Apr 1999 15:40:34 +0000 (15:40 +0000)]
(copy_internal): Move the one-file-system test so that
it follows the `if (new_dst || !S_ISDIR (dst_sb.st_mode))' block.
Prior to this change, `cp --one-file-system' would traverse a file-
system boundary if the destination directory existed.
From thospel@mail.dma.be.

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Apr 1999 15:24:47 +0000 (15:24 +0000)]
*** empty log message ***

25 years ago(copy_internal): Don't make `mv foo symlink-to-foo' fail.
Jim Meyering [Fri, 30 Apr 1999 15:15:02 +0000 (15:15 +0000)]
(copy_internal): Don't make `mv foo symlink-to-foo' fail.
That is, even though source and destination are `the same,' don't fail
if the destination is a symlink.  From Peter Samuelson.

25 years ago*** empty log message ***
Jim Meyering [Mon, 26 Apr 1999 15:07:44 +0000 (15:07 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 26 Apr 1999 13:31:57 +0000 (13:31 +0000)]
*** empty log message ***

25 years ago(main): If you can't open an output file (with seek=...) read-write,
Jim Meyering [Mon, 26 Apr 1999 13:31:49 +0000 (13:31 +0000)]
(main): If you can't open an output file (with seek=...) read-write,
then open it for write and report an error if we can't seek.

25 years ago.
Jim Meyering [Mon, 26 Apr 1999 13:25:28 +0000 (13:25 +0000)]
.

25 years ago(utime_null): Don't pass 0666 to open; it's not needed and isn't
Jim Meyering [Mon, 26 Apr 1999 13:25:08 +0000 (13:25 +0000)]
(utime_null): Don't pass 0666 to open; it's not needed and isn't
guaranteed to be portable.

25 years ago(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.
Jim Meyering [Mon, 26 Apr 1999 13:22:23 +0000 (13:22 +0000)]
(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Jim Meyering [Mon, 26 Apr 1999 13:19:37 +0000 (13:19 +0000)]
(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP,
S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.

25 years agoDon't assume traditional Unix mode numbering.
Jim Meyering [Mon, 26 Apr 1999 13:14:36 +0000 (13:14 +0000)]
Don't assume traditional Unix mode numbering.

25 years agoInclude <config.h>, <sys/types.h> for mode_t.
Jim Meyering [Mon, 26 Apr 1999 13:13:59 +0000 (13:13 +0000)]
Include <config.h>, <sys/types.h> for mode_t.
(struct mode_change): Members affected and value are now mode_t instead
of unsigned short.

25 years ago<config.h>, <sys/types.h>: Include for mode_t.
Jim Meyering [Mon, 26 Apr 1999 13:13:36 +0000 (13:13 +0000)]
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.

25 years ago(make_path): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:13:00 +0000 (13:13 +0000)]
(make_path): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRWXU): Define if not defined.

25 years ago(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:10:11 +0000 (13:10 +0000)]
(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined.
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.

25 years ago(main): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:03:49 +0000 (13:03 +0000)]
(main): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(do_copy, cp_option_init, main): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:03:11 +0000 (13:03 +0000)]
(do_copy, cp_option_init, main): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(struct cp_options.umask_kill): Use mode_t, not unsigned int.
Jim Meyering [Mon, 26 Apr 1999 12:55:36 +0000 (12:55 +0000)]
(struct cp_options.umask_kill): Use mode_t, not unsigned int.

25 years ago(copy_reg, copy_internal): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:54:51 +0000 (12:54 +0000)]
(copy_reg, copy_internal): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(describe_change, change_file_mode): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:51:43 +0000 (12:51 +0000)]
(describe_change, change_file_mode): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(main): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:49:59 +0000 (12:49 +0000)]
(main): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(isodigit): Remove unused macro.
Jim Meyering [Mon, 26 Apr 1999 12:49:16 +0000 (12:49 +0000)]
(isodigit): Remove unused macro.
(mode, cp_option_init, DIR_MODE): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(S_ISUID, S_ISGID, S_ISVTX, S_IRWXU, S_IRWXG, S_IRWXO):
Jim Meyering [Mon, 26 Apr 1999 12:48:12 +0000 (12:48 +0000)]
(S_ISUID, S_ISGID, S_ISVTX, S_IRWXU, S_IRWXG, S_IRWXO):
Define if not defined.
(CHMOD_MODE_BITS): New macro.

25 years ago(open_maybe_create): Don't pass 0666 to open; it's not needed and isn't
Jim Meyering [Mon, 26 Apr 1999 12:47:33 +0000 (12:47 +0000)]
(open_maybe_create): Don't pass 0666 to open; it's not needed and isn't
guaranteed to be portable.

25 years agoUse proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:20:54 +0000 (12:20 +0000)]
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years agoUse proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:20:26 +0000 (12:20 +0000)]
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years agoUse proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 12:19:37 +0000 (12:19 +0000)]
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(main): Revert last change.
Jim Meyering [Mon, 26 Apr 1999 02:19:51 +0000 (02:19 +0000)]
(main): Revert last change.
Instead, loop on `optind < argc' to protect use of argv[optind].

25 years agorevert last change
Jim Meyering [Mon, 26 Apr 1999 02:18:09 +0000 (02:18 +0000)]
revert last change

25 years ago.
Jim Meyering [Mon, 26 Apr 1999 00:40:42 +0000 (00:40 +0000)]
.

25 years ago(main): Handle the case in which seq is given no args.
Jim Meyering [Mon, 26 Apr 1999 00:39:47 +0000 (00:39 +0000)]
(main): Handle the case in which seq is given no args.

25 years ago*** empty log message ***
Jim Meyering [Sun, 25 Apr 1999 19:20:40 +0000 (19:20 +0000)]
*** empty log message ***

25 years ago<inttypes.h>: Include it here instead.
Jim Meyering [Sun, 25 Apr 1999 19:20:18 +0000 (19:20 +0000)]
<inttypes.h>: Include it here instead.
<config.h>: Include it here too.

25 years agoDon't include inttypes.h here.
Jim Meyering [Sun, 25 Apr 1999 19:18:55 +0000 (19:18 +0000)]
Don't include inttypes.h here.

25 years ago[NDEBUG]: Remove definition.
Jim Meyering [Sun, 25 Apr 1999 19:18:20 +0000 (19:18 +0000)]
[NDEBUG]: Remove definition.

25 years ago*** empty log message ***
Jim Meyering [Sun, 25 Apr 1999 12:11:52 +0000 (12:11 +0000)]
*** empty log message ***

25 years ago*** empty log message *** FILEUTILS-4_0g
Jim Meyering [Sun, 25 Apr 1999 04:38:15 +0000 (04:38 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 21:38:27 +0000 (21:38 +0000)]
*** empty log message ***

25 years ago(print_entry): Use `#if', not `#ifdef HAVE_UT_HOST'.
Jim Meyering [Sat, 24 Apr 1999 21:29:22 +0000 (21:29 +0000)]
(print_entry): Use `#if', not `#ifdef HAVE_UT_HOST'.

25 years ago*** empty log message *** SH-UTILS-1_16g
Jim Meyering [Sat, 24 Apr 1999 13:14:25 +0000 (13:14 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 13:14:11 +0000 (13:14 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 24 Apr 1999 13:00:16 +0000 (13:00 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 12:59:26 +0000 (12:59 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 12:58:07 +0000 (12:58 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 24 Apr 1999 12:57:43 +0000 (12:57 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 12:53:50 +0000 (12:53 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 24 Apr 1999 12:53:19 +0000 (12:53 +0000)]
*** empty log message ***

25 years agoInclude new "xstrtol.h", not "xstrtoul.h".
Jim Meyering [Sat, 24 Apr 1999 12:43:39 +0000 (12:43 +0000)]
Include new "xstrtol.h", not "xstrtoul.h".

25 years agoInclude new "xstrtol.h", not "xstrtoul.h".
Jim Meyering [Sat, 24 Apr 1999 12:42:53 +0000 (12:42 +0000)]
Include new "xstrtol.h", not "xstrtoul.h".
(struct control) [repeat]: Declare as uintmax_t, not int.
(struct control) [lines_required]: Likewise.
(handle_line_error): Use human_readable to print lines_required.
(parse_repeat_count): Parse a uintmax_t.
(parse_patterns): Parse a uintmax_t.

25 years agoInclude new "xstrtol.h", not "xstrtoul.h".
Jim Meyering [Sat, 24 Apr 1999 12:33:56 +0000 (12:33 +0000)]
Include new "xstrtol.h", not "xstrtoul.h".

25 years agoInclude new "xstrtol.h", not "xstrtoul.h".
Jim Meyering [Sat, 24 Apr 1999 12:33:25 +0000 (12:33 +0000)]
Include new "xstrtol.h", not "xstrtoul.h".
Change all U_LONG_LONG to uintmax_t.
(head_lines): Move a couple dcls into an inner scope.
(string_to_integer): Rename from string_to_ull.

25 years agoimport latest
Jim Meyering [Fri, 23 Apr 1999 04:20:42 +0000 (04:20 +0000)]
import latest

25 years ago*** empty log message ***
Jim Meyering [Thu, 22 Apr 1999 15:19:11 +0000 (15:19 +0000)]
*** empty log message ***

25 years ago(word32): Don't use `#error'; it runs afoul of SunOS 4.1.4 cc.
Jim Meyering [Thu, 22 Apr 1999 14:38:50 +0000 (14:38 +0000)]
(word32): Don't use `#error'; it runs afoul of SunOS 4.1.4 cc.

25 years ago*** empty log message ***
Jim Meyering [Thu, 22 Apr 1999 14:37:17 +0000 (14:37 +0000)]
*** empty log message ***

25 years agoGuard strong_alias and weak_alias with #ifdef _LIBC.
Jim Meyering [Thu, 22 Apr 1999 14:35:59 +0000 (14:35 +0000)]
Guard strong_alias and weak_alias with #ifdef _LIBC.

25 years agoDon't bother with pot-mail anymore -- Francois needs merely the URL.
Jim Meyering [Thu, 22 Apr 1999 01:24:34 +0000 (01:24 +0000)]
Don't bother with pot-mail anymore -- Francois needs merely the URL.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 23:17:13 +0000 (23:17 +0000)]
.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 23:16:48 +0000 (23:16 +0000)]
.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:34:29 +0000 (04:34 +0000)]
.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:30:22 +0000 (04:30 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:29:00 +0000 (04:29 +0000)]
*** empty log message ***

25 years agoRemove the temporary strtoumax replacement;
Jim Meyering [Wed, 21 Apr 1999 04:28:36 +0000 (04:28 +0000)]
Remove the temporary strtoumax replacement;
we now have a true replacement in strtoumax.c.
(__strtol): Always define to strtoumax.
(<stdlib.h>): No need to include.
(PARAMS): Remove.
(my_strtoumax): Move this to strtoumax.c,
rename it to strtoumax, and simplify.

25 years agoUpdate to glibc 2.1.1 version.
Jim Meyering [Wed, 21 Apr 1999 04:27:24 +0000 (04:27 +0000)]
Update to glibc 2.1.1 version.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:24:39 +0000 (04:24 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:22:15 +0000 (04:22 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:21:50 +0000 (04:21 +0000)]
*** empty log message ***

25 years ago(jm_CHECK_ALL_TYPES): Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Jim Meyering [Wed, 21 Apr 1999 04:21:44 +0000 (04:21 +0000)]
(jm_CHECK_ALL_TYPES): Require jm_AC_TYPE_UNSIGNED_LONG_LONG.

25 years ago(AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
Jim Meyering [Wed, 21 Apr 1999 04:14:59 +0000 (04:14 +0000)]
(AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:04:20 +0000 (04:04 +0000)]
*** empty log message ***

25 years ago(jm_AC_TYPE_UINTMAX_T): Move unsigned long
Jim Meyering [Wed, 21 Apr 1999 04:04:04 +0000 (04:04 +0000)]
(jm_AC_TYPE_UINTMAX_T): Move unsigned long
long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:00:48 +0000 (04:00 +0000)]
*** empty log message ***

25 years agoRequire jm_AC_TYPE_UNSIGNED_LONG_LONG.
Jim Meyering [Wed, 21 Apr 1999 04:00:38 +0000 (04:00 +0000)]
Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Replace xstroull if necessary.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 03:58:57 +0000 (03:58 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 03:24:54 +0000 (03:24 +0000)]
*** empty log message ***

25 years agoupdate comment
Jim Meyering [Wed, 21 Apr 1999 03:19:26 +0000 (03:19 +0000)]
update comment

25 years ago<xstrtol.h>: Include this, not xstrtoul.h.
Jim Meyering [Wed, 21 Apr 1999 03:18:23 +0000 (03:18 +0000)]
<xstrtol.h>: Include this, not xstrtoul.h.
<human.h>: Include.
Use uintmax_t in place of unsigned long.
Use human_readable to convert to strings for printing.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 02:30:43 +0000 (02:30 +0000)]
.