platform/upstream/coreutils.git
19 years ago(short_pinky): Adjust to read_utmp signature change.
Paul Eggert [Wed, 30 Mar 2005 05:21:31 +0000 (05:21 +0000)]
(short_pinky): Adjust to read_utmp signature change.

19 years ago* readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
Paul Eggert [Wed, 30 Mar 2005 05:20:57 +0000 (05:20 +0000)]
* readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
Remove duplicate call to AC_LIBOBJ(readutmp).
(gl_PREREQ_READUTMP): Remove.  All uses removed.  This module
no longer relies on free (NULL) working.

19 years ago(gl_READUTMP): Require AC_C_INLINE.
Paul Eggert [Wed, 30 Mar 2005 05:20:25 +0000 (05:20 +0000)]
(gl_READUTMP): Require AC_C_INLINE.
Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
Remove duplicate call to AC_LIBOBJ(readutmp).
(gl_PREREQ_READUTMP): Remove.  All uses removed.  This module
no longer relies on free (NULL) working.

19 years agoreadutmp changes to allow checking for live pids
Paul Eggert [Wed, 30 Mar 2005 05:19:48 +0000 (05:19 +0000)]
readutmp changes to allow checking for live pids

19 years ago(read_utmp): New arg OPTIONS. All uses changed.
Paul Eggert [Wed, 30 Mar 2005 05:19:11 +0000 (05:19 +0000)]
(read_utmp): New arg OPTIONS.  All uses changed.
(UT_PID): Moved here from ../src/who.c.
(READ_UTMP_CHECK_PIDS): New constant.

19 years ago(read_utmp): New arg OPTIONS. All uses changed.
Paul Eggert [Wed, 30 Mar 2005 05:18:37 +0000 (05:18 +0000)]
(read_utmp): New arg OPTIONS.  All uses changed.
Include signal.h, stdbool.h.
(desirable_utmp_entry): New function.
(read_utmp) [defined UTMP_NAME_FUNCTION]: Redo memory allocation
using x2nrealloc, to simplify logic.
(read_utmp) [!defined UTMP_NAME_FUNCTION]: Check for overflow in
size calculation.

19 years ago*** empty log message ***
Jim Meyering [Tue, 29 Mar 2005 19:01:43 +0000 (19:01 +0000)]
*** empty log message ***

19 years ago(ptr_align): Declare `ptr' parameter to be a
Jim Meyering [Tue, 29 Mar 2005 19:01:34 +0000 (19:01 +0000)]
(ptr_align): Declare `ptr' parameter to be a
`const' pointer, since this function never writes through it.

19 years agoRemove #if-0'd-out code.
Jim Meyering [Tue, 29 Mar 2005 14:09:35 +0000 (14:09 +0000)]
Remove #if-0'd-out code.

19 years ago*** empty log message ***
Jim Meyering [Tue, 29 Mar 2005 12:06:20 +0000 (12:06 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 29 Mar 2005 12:03:31 +0000 (12:03 +0000)]
*** empty log message ***

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Tue, 29 Mar 2005 11:56:10 +0000 (11:56 +0000)]
(long_options): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Tue, 29 Mar 2005 08:19:25 +0000 (08:19 +0000)]
*** empty log message ***

19 years agoIndent cpp directives.
Jim Meyering [Tue, 29 Mar 2005 08:19:20 +0000 (08:19 +0000)]
Indent cpp directives.

19 years ago*** empty log message ***
Jim Meyering [Tue, 29 Mar 2005 07:19:29 +0000 (07:19 +0000)]
*** empty log message ***

19 years agoReturn success on systems such as cygwin
Jim Meyering [Tue, 29 Mar 2005 07:18:58 +0000 (07:18 +0000)]
Return success on systems such as cygwin
where no absolute path name can be longer than PATH_MAX.

19 years ago.
Jim Meyering [Mon, 28 Mar 2005 21:58:07 +0000 (21:58 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 19:30:14 +0000 (19:30 +0000)]
*** empty log message ***

19 years ago(print_sep_string):
Jim Meyering [Mon, 28 Mar 2005 19:29:54 +0000 (19:29 +0000)]
(print_sep_string):
Add `void' to make this an ANSI-style function declaration.

19 years ago(ds_init): Add `void' to make this an ANSI-style function declaration.
Jim Meyering [Mon, 28 Mar 2005 19:29:17 +0000 (19:29 +0000)]
(ds_init): Add `void' to make this an ANSI-style function declaration.

19 years ago(get_width_format) [HAVE_RINT && HAVE_MODF && HAVE_FLOOR]:
Jim Meyering [Mon, 28 Mar 2005 19:28:33 +0000 (19:28 +0000)]
(get_width_format) [HAVE_RINT && HAVE_MODF && HAVE_FLOOR]:
Add `void' to make this an ANSI-style function declaration.

19 years ago(sc_tight_scope): Adjust to catch any
Jim Meyering [Mon, 28 Mar 2005 19:22:36 +0000 (19:22 +0000)]
(sc_tight_scope): Adjust to catch any
new declarations like that of stty.c's `speeds'.

19 years ago(speeds): Declare this array to be static.
Jim Meyering [Mon, 28 Mar 2005 18:41:09 +0000 (18:41 +0000)]
(speeds): Declare this array to be static.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 18:21:26 +0000 (18:21 +0000)]
*** empty log message ***

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:21:13 +0000 (18:21 +0000)]
(long_options): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 18:18:35 +0000 (18:18 +0000)]
*** empty log message ***

19 years ago(follow_mode_string): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:18:21 +0000 (18:18 +0000)]
(follow_mode_string): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:17:40 +0000 (18:17 +0000)]
(long_options): Use NULL, not `0'.

19 years ago(docolon): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:17:02 +0000 (18:17 +0000)]
(docolon): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 18:16:26 +0000 (18:16 +0000)]
*** empty log message ***

19 years ago(print_user): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:16:06 +0000 (18:16 +0000)]
(print_user): Use NULL, not `0'.

19 years ago(print_uptime): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:15:16 +0000 (18:15 +0000)]
(print_uptime): Use NULL, not `0'.

19 years ago(delimit_method_string): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:14:15 +0000 (18:14 +0000)]
(delimit_method_string): Use NULL, not `0'.

19 years ago(longopts, time_args): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:13:40 +0000 (18:13 +0000)]
(longopts, time_args): Use NULL, not `0'.

19 years ago(main): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:11:18 +0000 (18:11 +0000)]
(main): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:10:49 +0000 (18:10 +0000)]
(long_options): Use NULL, not `0'.

19 years ago(long_options, mergefps): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:09:51 +0000 (18:09 +0000)]
(long_options, mergefps): Use NULL, not `0'.

19 years ago(longopts): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:08:45 +0000 (18:08 +0000)]
(longopts): Use NULL, not `0'.

19 years ago(long_options, format_args): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:08:12 +0000 (18:08 +0000)]
(long_options, format_args): Use NULL, not `0'.

19 years ago(print_entry): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:06:55 +0000 (18:06 +0000)]
(print_entry): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 18:06:06 +0000 (18:06 +0000)]
*** empty log message ***

19 years ago(longopts): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:05:53 +0000 (18:05 +0000)]
(longopts): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:05:28 +0000 (18:05 +0000)]
(long_options): Use NULL, not `0'.

19 years ago(time_style_args, indicator_style_args, long_options)
Jim Meyering [Mon, 28 Mar 2005 18:04:50 +0000 (18:04 +0000)]
(time_style_args, indicator_style_args, long_options)
(format_args, sort_args, time_args, decode_switches)
(gobble_file): Use NULL, not `0'.

19 years ago(longopts): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:01:04 +0000 (18:01 +0000)]
(longopts): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 18:00:26 +0000 (18:00 +0000)]
*** empty log message ***

19 years ago(time_spec_string): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 18:00:16 +0000 (18:00 +0000)]
(time_spec_string): Use NULL, not `0'.

19 years ago(find_mount_point, show_point): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:59:54 +0000 (17:59 +0000)]
(find_mount_point, show_point): Use NULL, not `0'.

19 years ago(extract_regexp): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:57:57 +0000 (17:57 +0000)]
(extract_regexp): Use NULL, not `0'.

19 years ago(copy_reg): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:55:43 +0000 (17:55 +0000)]
(copy_reg): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:54:13 +0000 (17:54 +0000)]
(long_options): Use NULL, not `0'.

19 years ago(chopt_init): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:50:54 +0000 (17:50 +0000)]
(chopt_init): Use NULL, not `0'.

19 years ago(reply_args): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:50:14 +0000 (17:50 +0000)]
(reply_args): Use NULL, not `0'.

19 years ago(sparse_type_string, reply_args, decode_preserve_arg): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:49:12 +0000 (17:49 +0000)]
(sparse_type_string, reply_args, decode_preserve_arg): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:47:48 +0000 (17:47 +0000)]
(long_options): Use NULL, not `0'.

19 years ago(long_options): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:46:55 +0000 (17:46 +0000)]
(long_options): Use NULL, not `0'.

19 years ago*** empty log message ***
Jim Meyering [Mon, 28 Mar 2005 17:37:13 +0000 (17:37 +0000)]
*** empty log message ***

19 years ago(GETOPT_HELP_OPTION_DECL): Use NULL, not `0'.
Jim Meyering [Mon, 28 Mar 2005 17:37:07 +0000 (17:37 +0000)]
(GETOPT_HELP_OPTION_DECL): Use NULL, not `0'.
(GETOPT_VERSION_OPTION_DECL): Likewise.

19 years ago*** empty log message ***
Jim Meyering [Sun, 27 Mar 2005 16:40:43 +0000 (16:40 +0000)]
*** empty log message ***

19 years ago(argmatch): Clarify comment: null-terminated -> NULL-terminated.
Jim Meyering [Sun, 27 Mar 2005 16:40:02 +0000 (16:40 +0000)]
(argmatch): Clarify comment: null-terminated -> NULL-terminated.

19 years ago*** empty log message ***
Jim Meyering [Sun, 27 Mar 2005 08:40:38 +0000 (08:40 +0000)]
*** empty log message ***

19 years agoUse the same global destructor as dcgen.
Jim Meyering [Sun, 27 Mar 2005 08:40:30 +0000 (08:40 +0000)]
Use the same global destructor as dcgen.

19 years agoSimplify further, clean up. Require perl-5.002.
Jim Meyering [Sun, 27 Mar 2005 08:35:16 +0000 (08:35 +0000)]
Simplify further, clean up.  Require perl-5.002.
Add a standard-output-closing global destructor.

19 years agoClarify NUL vs null byte vs null character.
Paul Eggert [Sat, 26 Mar 2005 18:43:30 +0000 (18:43 +0000)]
Clarify NUL vs null byte vs null character.

19 years agoPropagate intprops.h comment fixes to mktime.c and strftime.c.
Paul Eggert [Sat, 26 Mar 2005 18:08:24 +0000 (18:08 +0000)]
Propagate intprops.h comment fixes to mktime.c and strftime.c.

19 years agoone's complement -> ones' complement
Paul Eggert [Sat, 26 Mar 2005 17:55:33 +0000 (17:55 +0000)]
one's complement -> ones' complement

19 years agoone's complement -> ones' complement
Paul Eggert [Sat, 26 Mar 2005 17:55:05 +0000 (17:55 +0000)]
one's complement -> ones' complement

19 years agoFix comment nits in intprops.h.
Paul Eggert [Sat, 26 Mar 2005 17:49:37 +0000 (17:49 +0000)]
Fix comment nits in intprops.h.

19 years agoFix comment nits.
Paul Eggert [Sat, 26 Mar 2005 17:49:22 +0000 (17:49 +0000)]
Fix comment nits.

19 years agoSimplify dcgen and dircolors.c.
Paul Eggert [Sat, 26 Mar 2005 17:41:26 +0000 (17:41 +0000)]
Simplify dcgen and dircolors.c.

19 years ago(parse_line): Use char *, not unsigned char *. This avoids casts.
Paul Eggert [Sat, 26 Mar 2005 17:39:17 +0000 (17:39 +0000)]
(parse_line): Use char *, not unsigned char *.  This avoids casts.
(dc_parse_stream, main): Avoid casts.
Adjust to simpler data structure generated by new dcgen.

19 years agoSqueeze multiple blanks into one. Output a simple
Paul Eggert [Sat, 26 Mar 2005 17:38:48 +0000 (17:38 +0000)]
Squeeze multiple blanks into one.  Output a simple
array of adjacent strings rather than a more complicated data
structure; this saves space in the dircolors executable.

19 years ago*** empty log message ***
Jim Meyering [Sat, 26 Mar 2005 14:58:28 +0000 (14:58 +0000)]
*** empty log message ***

19 years ago(usage): Document usage of LS_COLORS.
Jim Meyering [Sat, 26 Mar 2005 14:53:45 +0000 (14:53 +0000)]
(usage): Document usage of LS_COLORS.

19 years ago* src/dircolors.hin: Add "TERM cygin".
Paul Eggert [Sat, 26 Mar 2005 06:57:50 +0000 (06:57 +0000)]
* src/dircolors.hin: Add "TERM cygin".

19 years agoAdd "TERM cygwin".
Paul Eggert [Sat, 26 Mar 2005 06:56:01 +0000 (06:56 +0000)]
Add "TERM cygwin".

19 years ago*** empty log message ***
Jim Meyering [Fri, 25 Mar 2005 21:00:25 +0000 (21:00 +0000)]
*** empty log message ***

19 years ago(main): Update use of DECIMAL_DIGIT_ACCUMULATE.
Jim Meyering [Fri, 25 Mar 2005 20:59:48 +0000 (20:59 +0000)]
(main): Update use of DECIMAL_DIGIT_ACCUMULATE.

19 years ago(parse_tab_stops, main): Update use of DECIMAL_DIGIT_ACCUMULATE.
Jim Meyering [Fri, 25 Mar 2005 20:59:26 +0000 (20:59 +0000)]
(parse_tab_stops, main): Update use of DECIMAL_DIGIT_ACCUMULATE.

19 years ago(set_fields): Update use of DECIMAL_DIGIT_ACCUMULATE.
Jim Meyering [Fri, 25 Mar 2005 20:59:07 +0000 (20:59 +0000)]
(set_fields): Update use of DECIMAL_DIGIT_ACCUMULATE.

19 years ago(DECIMAL_DIGIT_ACCUMULATE): Reverse the sense of
Jim Meyering [Fri, 25 Mar 2005 20:58:57 +0000 (20:58 +0000)]
(DECIMAL_DIGIT_ACCUMULATE): Reverse the sense of
the return value, and update callers:

19 years ago*** empty log message ***
Jim Meyering [Wed, 23 Mar 2005 12:47:54 +0000 (12:47 +0000)]
*** empty log message ***

19 years agoRemove duplicate `#include "stat-macros.h"'.
Jim Meyering [Wed, 23 Mar 2005 12:47:46 +0000 (12:47 +0000)]
Remove duplicate `#include "stat-macros.h"'.

19 years ago*** empty log message ***
Jim Meyering [Tue, 22 Mar 2005 16:17:56 +0000 (16:17 +0000)]
*** empty log message ***

19 years agoReflect renaming: config -> build-aux.
Jim Meyering [Tue, 22 Mar 2005 16:17:50 +0000 (16:17 +0000)]
Reflect renaming: config -> build-aux.

19 years ago.
Jim Meyering [Tue, 22 Mar 2005 16:17:25 +0000 (16:17 +0000)]
.

19 years agoReflect renaming: config -> build-aux.
Jim Meyering [Tue, 22 Mar 2005 16:17:07 +0000 (16:17 +0000)]
Reflect renaming: config -> build-aux.

19 years agoReflect renaming: config -> build-aux.
Jim Meyering [Tue, 22 Mar 2005 16:09:18 +0000 (16:09 +0000)]
Reflect renaming: config -> build-aux.

19 years agoReflect renaming: config -> build-aux.
Jim Meyering [Tue, 22 Mar 2005 15:38:40 +0000 (15:38 +0000)]
Reflect renaming: config -> build-aux.

19 years agomoved to ../build-aux
Jim Meyering [Tue, 22 Mar 2005 15:10:35 +0000 (15:10 +0000)]
moved to ../build-aux

19 years ago*** empty log message ***
Jim Meyering [Tue, 22 Mar 2005 15:09:58 +0000 (15:09 +0000)]
*** empty log message ***

19 years agoReflect renaming: config -> build-aux.
Jim Meyering [Tue, 22 Mar 2005 15:09:54 +0000 (15:09 +0000)]
Reflect renaming: config -> build-aux.

19 years ago.
Jim Meyering [Tue, 22 Mar 2005 15:08:26 +0000 (15:08 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Tue, 22 Mar 2005 14:51:41 +0000 (14:51 +0000)]
*** empty log message ***

19 years ago(get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts.
Jim Meyering [Tue, 22 Mar 2005 14:51:34 +0000 (14:51 +0000)]
(get_funky_string): Use '\a', rather than 7, for portability to EBCDIC hosts.

19 years agoRegenerate.
Paul Eggert [Mon, 21 Mar 2005 22:32:29 +0000 (22:32 +0000)]
Regenerate.

19 years ago* Makefile.am (libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,
Paul Eggert [Mon, 21 Mar 2005 22:31:18 +0000 (22:31 +0000)]
* Makefile.am (libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,
as they are now done by Autoconf macros.

19 years ago(libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,
Paul Eggert [Mon, 21 Mar 2005 22:31:05 +0000 (22:31 +0000)]
(libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,
as they are now done by Autoconf macros.

19 years agoImport a few more changes from gnulib.
Paul Eggert [Mon, 21 Mar 2005 22:28:15 +0000 (22:28 +0000)]
Import a few more changes from gnulib.

19 years ago(gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
Paul Eggert [Mon, 21 Mar 2005 22:27:46 +0000 (22:27 +0000)]
(gl_XSTRTOL): Add xstrtoul.c to AC_LIBSOURCES.
Add xstrtoul to AC_LIBOBJ.