platform/upstream/coreutils.git
24 years ago.
Jim Meyering [Sun, 23 Jan 2000 09:08:39 +0000 (09:08 +0000)]
.

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 22:55:11 +0000 (22:55 +0000)]
.

24 years ago(keycompare): Use global, hard_LC_COLLATE in place of
Jim Meyering [Sat, 22 Jan 2000 22:54:51 +0000 (22:54 +0000)]
(keycompare): Use global, hard_LC_COLLATE in place of
local that is sometimes undeclared.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 22:43:37 +0000 (22:43 +0000)]
*** empty log message ***

24 years ago[! HAVE_DECL_STRTOUL]: Declare strtoul.
Jim Meyering [Sat, 22 Jan 2000 22:43:31 +0000 (22:43 +0000)]
[! HAVE_DECL_STRTOUL]: Declare strtoul.
[! HAVE_DECL_STRTOULL]: Declare strtoull.
Required for some AIX systems.  Reported by Christian Krackowizer.
[TESTING] (main): New function.

24 years ago[! HAVE_DECL_STRTOUL]: Declare strtoul.
Jim Meyering [Sat, 22 Jan 2000 22:41:02 +0000 (22:41 +0000)]
[! HAVE_DECL_STRTOUL]: Declare strtoul.
[! HAVE_DECL_STRTOULL]: Declare strtoull.
Required for some AIX systems.  Reported by Christian Krackowizer.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 22:26:17 +0000 (22:26 +0000)]
*** empty log message ***

24 years agoCall AC_PROG_CC_STDC just before AC_C_CONST.
Jim Meyering [Sat, 22 Jan 2000 22:25:25 +0000 (22:25 +0000)]
Call AC_PROG_CC_STDC just before AC_C_CONST.

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

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

24 years ago[HAVE_WCTYPE_H]: Include <wctype.h>.
Jim Meyering [Sat, 22 Jan 2000 22:19:48 +0000 (22:19 +0000)]
[HAVE_WCTYPE_H]: Include <wctype.h>.

24 years ago(jm_PREREQ_QUOTEARG): Add wctype.h.
Jim Meyering [Sat, 22 Jan 2000 22:19:12 +0000 (22:19 +0000)]
(jm_PREREQ_QUOTEARG): Add wctype.h.

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

24 years agoMerge the three lists of headers.
Jim Meyering [Sat, 22 Jan 2000 22:08:08 +0000 (22:08 +0000)]
Merge the three lists of headers.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 22:05:13 +0000 (22:05 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_HEADERS): Add checks from textutils' configure.in
Jim Meyering [Sat, 22 Jan 2000 22:04:33 +0000 (22:04 +0000)]
(AC_CHECK_HEADERS): Add checks from textutils' configure.in

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

24 years ago(AC_CHECK_HEADERS): Add checks from sh-utils' configure.in
Jim Meyering [Sat, 22 Jan 2000 22:03:01 +0000 (22:03 +0000)]
(AC_CHECK_HEADERS): Add checks from sh-utils' configure.in

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 22:00:31 +0000 (22:00 +0000)]
*** empty log message ***

24 years ago(AC_CHECK_HEADERS): Add checks from fileutils' configure.in
Jim Meyering [Sat, 22 Jan 2000 22:00:17 +0000 (22:00 +0000)]
(AC_CHECK_HEADERS): Add checks from fileutils' configure.in

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 21:52:02 +0000 (21:52 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_ADDEXT): New macro. Parts moved here from fileutils' configure.in.
Jim Meyering [Sat, 22 Jan 2000 21:51:57 +0000 (21:51 +0000)]
(jm_PREREQ_ADDEXT): New macro.  Parts moved here from fileutils' configure.in.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 21:29:10 +0000 (21:29 +0000)]
*** empty log message ***

24 years ago(dir_name): Support for DOS-style file names with drive letters.
Jim Meyering [Sat, 22 Jan 2000 21:29:02 +0000 (21:29 +0000)]
(dir_name): Support for DOS-style file names with drive letters.

24 years agotack on the one from fileutils/lib
Jim Meyering [Sat, 22 Jan 2000 18:03:21 +0000 (18:03 +0000)]
tack on the one from fileutils/lib

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 14:27:13 +0000 (14:27 +0000)]
.

24 years agoRemove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
Jim Meyering [Sat, 22 Jan 2000 14:24:50 +0000 (14:24 +0000)]
Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.

24 years ago(_jm_DECL_HEADERS): Define new function.
Jim Meyering [Sat, 22 Jan 2000 14:22:42 +0000 (14:22 +0000)]
(_jm_DECL_HEADERS): Define new function.
(jm_CHECK_DECLARATIONS): Require it.

24 years agoRevert to using #if HAVE_STDLIB_H
Jim Meyering [Sat, 22 Jan 2000 14:07:23 +0000 (14:07 +0000)]
Revert to using #if HAVE_STDLIB_H
to guard inclusion of <stdlib.h>.

24 years agoGuard inclusion of <stdlib.h> with `#if STDC_HEADERS',
Jim Meyering [Sat, 22 Jan 2000 13:53:10 +0000 (13:53 +0000)]
Guard inclusion of <stdlib.h> with `#if STDC_HEADERS',
not `#if HAVE_STDLIB_H'.  The former wasn't defined.
Use #if rather than #ifdef.

Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
(jm_CHECK_DECLARATIONS): Add strtoul strtoull.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 13:15:39 +0000 (13:15 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 13:14:17 +0000 (13:14 +0000)]
*** empty log message ***

24 years ago(seq --format): Mention that integer formats are accepted, too.
Jim Meyering [Sat, 22 Jan 2000 13:13:45 +0000 (13:13 +0000)]
(seq --format): Mention that integer formats are accepted, too.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 13:07:25 +0000 (13:07 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 13:06:59 +0000 (13:06 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 12:37:01 +0000 (12:37 +0000)]
*** empty log message ***

24 years agoTopologically sort the functions and remove fwd declarations.
Jim Meyering [Sat, 22 Jan 2000 12:36:35 +0000 (12:36 +0000)]
Topologically sort the functions and remove fwd declarations.

24 years ago(enum Format_type): Declare.
Jim Meyering [Sat, 22 Jan 2000 11:14:22 +0000 (11:14 +0000)]
(enum Format_type): Declare.
(format_type): New global to take place of intconv.
(DO_printf): New macro.
(main): Use it.

24 years agoAdd new tests for the new functionality.
Jim Meyering [Sat, 22 Jan 2000 11:10:40 +0000 (11:10 +0000)]
Add new tests for the new functionality.

24 years agoAdd support for octal and hexadecimal output.
Jim Meyering [Sat, 22 Jan 2000 10:09:29 +0000 (10:09 +0000)]
Add support for octal and hexadecimal output.
(intconv): New variable.
(usage): Update.
(main): Call scan_arg instead of scan_double_arg. Call check_format
before scan_arg.
(scan_int_arg, scan_arg): New functions.
(check_format): Add intconv argument. Accept %d, %u, %o, %x, %X.
(print_numbers): If intconv is true, pass an int argument to printf.

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 09:44:23 +0000 (09:44 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 09:43:37 +0000 (09:43 +0000)]
*** empty log message ***

24 years ago(ISDIGIT): Define.
Jim Meyering [Sat, 22 Jan 2000 09:43:23 +0000 (09:43 +0000)]
(ISDIGIT): Define.
(strverscmp): Use ISDIGIT, not isdigit.

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 09:42:33 +0000 (09:42 +0000)]
.

24 years ago(o-rep-1, o-rep-2): New tests.
Jim Meyering [Sat, 22 Jan 2000 09:42:14 +0000 (09:42 +0000)]
(o-rep-1, o-rep-2): New tests.

24 years ago("xstrtol.h"): Include.
Jim Meyering [Sat, 22 Jan 2000 09:31:19 +0000 (09:31 +0000)]
("xstrtol.h"): Include.
(Filter): Rename from PFL.
(non_neg_strtol): Remove function.
(find_bracketed_repeat): Use xstrtoul instead of non_neg_strtol.
(squeeze_filter, set_initialize, main): Use size_t and ssize_t in
place of long and int in several decls.
(read_and_delete, read_and_xlate): Likewise, and remove assertion.

24 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jan 2000 15:08:14 +0000 (15:08 +0000)]
*** empty log message ***

24 years agoCorrect copying notice to use GPL, per author's request.
Jim Meyering [Fri, 21 Jan 2000 15:08:08 +0000 (15:08 +0000)]
Correct copying notice to use GPL, per author's request.
(AUTHORS): Add djm.

24 years agoCorrect copying notice to use GPL, per author's request.
Jim Meyering [Fri, 21 Jan 2000 15:07:53 +0000 (15:07 +0000)]
Correct copying notice to use GPL, per author's request.

24 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jan 2000 14:39:07 +0000 (14:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jan 2000 07:33:33 +0000 (07:33 +0000)]
*** empty log message ***

24 years ago(PFI): Return `long', not `int'.
Jim Meyering [Fri, 21 Jan 2000 07:33:25 +0000 (07:33 +0000)]
(PFI): Return `long', not `int'.
(PFL): Rename from PFI now that it returns long.
(squeeze_filter): Declare as `long': i, nr, out_len.

24 years agoTweak sort performance.
Jim Meyering [Wed, 19 Jan 2000 22:43:33 +0000 (22:43 +0000)]
Tweak sort performance.

(hard_LC_CTYPE): Remove.
(keylist): Renamed from keyhead.  Now a pointer, not a
mostly-unused struct.  All uses changed.
(findlines, keycompare, CMP_WITH_IGNORE, compare, checkfp, mergefps,
sort): Tune and use a more consistent style for reallocation.
(keycompare, main): Don't worry about LC_CTYPE;
it's buggy with multibyte chars anyway.
(compare): Invoke alloca (0) after each call to keycompare,
not just the ones that return nonzero.  This avoids a memory
leak on architectures without builtin alloca that occurs
sometimes when a file contains all duplicate lines.

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 20:41:06 +0000 (20:41 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
Jim Meyering [Wed, 19 Jan 2000 20:40:51 +0000 (20:40 +0000)]
(jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
defines `struct timespec' in <sys/time.h>

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 14:01:03 +0000 (14:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 13:57:51 +0000 (13:57 +0000)]
*** empty log message ***

24 years agoRemove uses of changequote altogether.
Jim Meyering [Wed, 19 Jan 2000 13:57:42 +0000 (13:57 +0000)]
Remove uses of changequote altogether.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 08:17:47 +0000 (08:17 +0000)]
.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 08:17:16 +0000 (08:17 +0000)]
.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 07:56:52 +0000 (07:56 +0000)]
.

24 years ago(interrupt_handler, main):
Jim Meyering [Tue, 18 Jan 2000 07:37:57 +0000 (07:37 +0000)]
(interrupt_handler, main):
Don't use SA_INTERRUPT to decide whether to call sigaction, as
POSIX.1 doesn't require SA_INTERRUPT and some systems
(e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
it's been part of POSIX.1 since day 1 (in 1988).

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Jan 2000 07:37:17 +0000 (07:37 +0000)]
*** empty log message ***

24 years ago(sighandler, main):
Jim Meyering [Tue, 18 Jan 2000 07:36:53 +0000 (07:36 +0000)]
(sighandler, main):
Don't use SA_INTERRUPT to decide whether to call sigaction, as
POSIX.1 doesn't require SA_INTERRUPT and some systems
(e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
it's been part of POSIX.1 since day 1 (in 1988).

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Jan 2000 07:28:59 +0000 (07:28 +0000)]
*** empty log message ***

24 years ago(interrupt_handler):
Jim Meyering [Tue, 18 Jan 2000 07:28:47 +0000 (07:28 +0000)]
(interrupt_handler):
Don't use SA_INTERRUPT to decide whether to call sigaction, as
POSIX.1 doesn't require SA_INTERRUPT and some systems
(e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
it's been part of POSIX.1 since day 1 (in 1988).
(install_handler): Use SA_NOCLDSTOP, not _POSIX_VERSION,
to decide whether to call sigaction; this fixes an old typo.

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

24 years ago(nanosleep):
Jim Meyering [Tue, 18 Jan 2000 07:25:53 +0000 (07:25 +0000)]
(nanosleep):
Don't use SA_INTERRUPT to decide whether to call sigaction, as
POSIX.1 doesn't require SA_INTERRUPT and some systems
(e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
it's been part of POSIX.1 since day 1 (in 1988).

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 22:37:32 +0000 (22:37 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 17 Jan 2000 22:36:01 +0000 (22:36 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 10:00:37 +0000 (10:00 +0000)]
*** empty log message ***

24 years agofix typo
Jim Meyering [Mon, 17 Jan 2000 10:00:30 +0000 (10:00 +0000)]
fix typo

24 years agoRevert this change (they're not the same):
Jim Meyering [Mon, 17 Jan 2000 10:00:19 +0000 (10:00 +0000)]
Revert this change (they're not the same):
  Use new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 08:03:25 +0000 (08:03 +0000)]
*** empty log message ***

24 years agorevert last change, now that quotearg.c is fixed
Jim Meyering [Mon, 17 Jan 2000 08:03:12 +0000 (08:03 +0000)]
revert last change, now that quotearg.c is fixed

24 years ago(quotearg_buffer_restyled): Do not quote
Jim Meyering [Mon, 17 Jan 2000 08:01:40 +0000 (08:01 +0000)]
(quotearg_buffer_restyled): Do not quote
alert, backslash, formfeed, and vertical tab unnecessarily in
shell quoting style.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 08:01:30 +0000 (08:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 22:15:50 +0000 (22:15 +0000)]
*** empty log message ***

24 years agoSync with sh-utils/lib/Makefile.am.
Jim Meyering [Sun, 16 Jan 2000 22:15:32 +0000 (22:15 +0000)]
Sync with sh-utils/lib/Makefile.am.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 20:42:46 +0000 (20:42 +0000)]
*** empty log message ***

24 years ago(usage): Correct error in %V description.
Jim Meyering [Sun, 16 Jan 2000 20:41:29 +0000 (20:41 +0000)]
(usage): Correct error in %V description.
From Wolfram Kleff.

24 years agoalphabetize a little
Jim Meyering [Sun, 16 Jan 2000 20:15:58 +0000 (20:15 +0000)]
alphabetize a little

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 17:01:26 +0000 (17:01 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 17:00:22 +0000 (17:00 +0000)]
.

24 years agoRemove these for now (they're with related code in sh-utils' configure.in)
Jim Meyering [Sun, 16 Jan 2000 16:48:57 +0000 (16:48 +0000)]
Remove these for now (they're with related code in sh-utils' configure.in)
  AM_SYS_POSIX_TERMIOS
  jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL

24 years agoRequire AM_FUNC_GETLOADAVG, jm_SYS_PROC_UPTIME, AM_SYS_POSIX_TERMIOS, and
Jim Meyering [Sun, 16 Jan 2000 16:42:24 +0000 (16:42 +0000)]
Require AM_FUNC_GETLOADAVG, jm_SYS_PROC_UPTIME, AM_SYS_POSIX_TERMIOS, and
jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.

24 years agoRequire jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
Jim Meyering [Sun, 16 Jan 2000 16:39:20 +0000 (16:39 +0000)]
Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, and AC_FUNC_ALLOCA.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 16:36:58 +0000 (16:36 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 13:09:25 +0000 (13:09 +0000)]
.

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 13:08:07 +0000 (13:08 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 12:59:09 +0000 (12:59 +0000)]
*** empty log message ***

24 years agoUse `changequote(<<,>>)', rather than `changequote(, )'
Jim Meyering [Sun, 16 Jan 2000 12:59:00 +0000 (12:59 +0000)]
Use `changequote(<<,>>)', rather than `changequote(, )'
because the latter didn't work.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 12:47:42 +0000 (12:47 +0000)]
*** empty log message ***

24 years agoAdapt to work with recently updated quotearg.c.
Jim Meyering [Sun, 16 Jan 2000 12:47:34 +0000 (12:47 +0000)]
Adapt to work with recently updated quotearg.c.

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 12:40:26 +0000 (12:40 +0000)]
.

24 years agoUse new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.
Jim Meyering [Sun, 16 Jan 2000 12:39:31 +0000 (12:39 +0000)]
Use new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Jan 2000 12:36:53 +0000 (12:36 +0000)]
*** empty log message ***

24 years agoSync with the version from emacs-20.5.
Jim Meyering [Sun, 16 Jan 2000 12:35:49 +0000 (12:35 +0000)]
Sync with the version from emacs-20.5.
(<string.h>): Include if HAVE_STRING_H.
(<stdlib.h>): Include if HAVE_STDLIB_H.
(alloca): Abort if malloc fails.

24 years ago.
Jim Meyering [Sat, 15 Jan 2000 16:09:56 +0000 (16:09 +0000)]
.

24 years ago.
Jim Meyering [Sat, 15 Jan 2000 15:58:54 +0000 (15:58 +0000)]
.