platform/upstream/coreutils.git
18 years ago* Makefile.am (EXTRA_DIST): Add a few more .??* files.
Jim Meyering [Fri, 14 Jul 2006 14:27:38 +0000 (14:27 +0000)]
* Makefile.am (EXTRA_DIST): Add a few more .??* files.
They've been in CVS, just haven't been distributed before this.
Distribute ChangeLog-2005, too.
(MAINTAINERCLEANFILES): Add THANKS-to-translators.

18 years agoAssume <dirent.h> exists, since gnulib assumes this now as well.
Paul Eggert [Tue, 11 Jul 2006 17:22:15 +0000 (17:22 +0000)]
Assume <dirent.h> exists, since gnulib assumes this now as well.

18 years agoSync from gnulib.
Paul Eggert [Tue, 11 Jul 2006 17:19:48 +0000 (17:19 +0000)]
Sync from gnulib.

18 years ago(gl_STDINT_H): Like yesterday's change to
Paul Eggert [Tue, 11 Jul 2006 03:29:56 +0000 (03:29 +0000)]
(gl_STDINT_H): Like yesterday's change to
absolute-header.m4.  Also, set ABSOLUTE_STDINT_H to a string
"no/such/file/stdint.h" when there is no such file, so that
the resulting C code can be parsed by dodgy compilers.
Problems reported by Bob Proulx.

18 years ago(gl_ABSOLUTE_HEADER): Use "" rather than <>
Paul Eggert [Mon, 10 Jul 2006 04:37:33 +0000 (04:37 +0000)]
(gl_ABSOLUTE_HEADER): Use "" rather than <>
around the absolute name, to work around a problem with the HP-UX
11.23 native C compiler, reported by Bob Proulx.

18 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2006 17:49:28 +0000 (17:49 +0000)]
*** empty log message ***

18 years ago(TESTS): Add dir2dir.
Jim Meyering [Sun, 9 Jul 2006 17:49:24 +0000 (17:49 +0000)]
(TESTS): Add dir2dir.

18 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2006 17:48:13 +0000 (17:48 +0000)]
*** empty log message ***

18 years agoAdjust so failing with ENOTEMPTY is ok, too.
Jim Meyering [Sun, 9 Jul 2006 17:48:08 +0000 (17:48 +0000)]
Adjust so failing with ENOTEMPTY is ok, too.
That happens with Linux/tmpfs.

18 years agoRegenerate.
Paul Eggert [Sun, 9 Jul 2006 17:20:26 +0000 (17:20 +0000)]
Regenerate.

18 years agoAdjust to recent updates from gnulib.
Paul Eggert [Sun, 9 Jul 2006 17:09:48 +0000 (17:09 +0000)]
Adjust to recent updates from gnulib.

18 years agoAdjust to today's renaming changes in system.h.
Paul Eggert [Sun, 9 Jul 2006 17:08:55 +0000 (17:08 +0000)]
Adjust to today's renaming changes in system.h.

18 years ago(print_it): Don't assume char is unsigned.
Paul Eggert [Sun, 9 Jul 2006 17:07:12 +0000 (17:07 +0000)]
(print_it): Don't assume char is unsigned.

18 years ago(print_esc): Don't assume char is unsigned.
Paul Eggert [Sun, 9 Jul 2006 17:06:35 +0000 (17:06 +0000)]
(print_esc): Don't assume char is unsigned.

18 years ago(create_fullname): Don't assume char is unsigned.
Paul Eggert [Sun, 9 Jul 2006 17:06:06 +0000 (17:06 +0000)]
(create_fullname): Don't assume char is unsigned.

18 years ago(is_blank): Remove; no longer needed. All uses
Paul Eggert [Sun, 9 Jul 2006 17:05:33 +0000 (17:05 +0000)]
(is_blank): Remove; no longer needed.  All uses
replaced by isblank (to_uchar (...)).

18 years ago(unexpand): Don't assume that isprint etc. return
Paul Eggert [Sun, 9 Jul 2006 17:05:13 +0000 (17:05 +0000)]
(unexpand): Don't assume that isprint etc. return
booleans (needed for pre-C99 hosts).

18 years ago(is_char_class_member): Don't assume that isprint etc. return
Paul Eggert [Sun, 9 Jul 2006 17:04:48 +0000 (17:04 +0000)]
(is_char_class_member): Don't assume that isprint etc. return
booleans (needed for pre-C99 hosts).

18 years ago(initialize_regex, fix_output_parameters): Don't assume that isprint
Paul Eggert [Sun, 9 Jul 2006 17:04:06 +0000 (17:04 +0000)]
(initialize_regex, fix_output_parameters): Don't assume that isprint
etc. return booleans (needed for pre-C99 hosts).
(SKIP_NON_WHITE, SKIP_WHITE, SKIP_WHITE_BACKWARDS):
(copy_unescaped_string): Don't assume char is unsigned.

18 years ago(check_punctuation): Don't assume that isprint etc. return
Paul Eggert [Sun, 9 Jul 2006 17:03:20 +0000 (17:03 +0000)]
(check_punctuation): Don't assume that isprint etc. return
booleans (needed for pre-C99 hosts).

18 years ago(expand): Don't assume that isprint etc. return
Paul Eggert [Sun, 9 Jul 2006 17:02:53 +0000 (17:02 +0000)]
(expand): Don't assume that isprint etc. return
booleans (needed for pre-C99 hosts).

18 years ago(inittables): Use toupper rather than
Paul Eggert [Sun, 9 Jul 2006 17:02:17 +0000 (17:02 +0000)]
(inittables):  Use toupper rather than
islower followed by toupper; it's simpler and typically
faster now that we assume at least C89 semantics.  Similarly
for tolower.

18 years ago(apply_translations): Use toupper rather than
Paul Eggert [Sun, 9 Jul 2006 17:01:38 +0000 (17:01 +0000)]
(apply_translations): Use toupper rather than
islower followed by toupper; it's simpler and typically
faster now that we assume at least C89 semantics.  Similarly
for tolower.

18 years ago(_D_EXACT_NAMELEN): Renamed from NLENGTH, for
Paul Eggert [Sun, 9 Jul 2006 17:01:13 +0000 (17:01 +0000)]
(_D_EXACT_NAMELEN): Renamed from NLENGTH, for
convenience on GNU systems.  All uses changed.  Don't bother
looking for any dirent.h substitute other than ndir.h.
(D_INO): Remove unnecessary parentheses.
(IN_CTYPE_DOMAIN, ISGRAPH, ISPRINT, ISALNUM, ISALPHA):
(ISCNTRL, ISLOWER, ISPUNCT, ISSPACE, ISUPPER, ISXDIGIT):
(ISDIGIT_LOCALE, TOLOWER, TOUPPER): Remove.  All uses changed
to ctype.h equivalents.
(isblank): Renamed from ISBLANK.  Check for HAVE_DECL_ISBLANK too.
All uses changed.

18 years agoUpdate from gnulib.
Paul Eggert [Sun, 9 Jul 2006 16:59:35 +0000 (16:59 +0000)]
Update from gnulib.

18 years agoUpdate from gnulib.
Paul Eggert [Sun, 9 Jul 2006 16:59:05 +0000 (16:59 +0000)]
Update from gnulib.

18 years ago(stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,
Paul Eggert [Sun, 9 Jul 2006 16:57:35 +0000 (16:57 +0000)]
(stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,
to accommodate update from gnulib.

18 years agoUpdate from gnulib.
Paul Eggert [Sun, 9 Jul 2006 16:57:00 +0000 (16:57 +0000)]
Update from gnulib.

18 years agoremove doubled "in"
Jim Meyering [Sun, 9 Jul 2006 09:49:10 +0000 (09:49 +0000)]
remove doubled "in"

18 years agofix typo: remove doubled "each"
Jim Meyering [Sun, 9 Jul 2006 09:47:20 +0000 (09:47 +0000)]
fix typo: remove doubled "each"

18 years agoNew file, test for 2006-07-05 fix in copy.c.
Jim Meyering [Sat, 8 Jul 2006 21:52:24 +0000 (21:52 +0000)]
New file, test for 2006-07-05 fix in copy.c.

18 years ago* regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 12:08:59 +0000 (12:08 +0000)]
* regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.

18 years ago* link-follow.m4: Remove one of two adjacent "whether"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 11:28:05 +0000 (11:28 +0000)]
* link-follow.m4: Remove one of two adjacent "whether"s in a comment.

18 years agoRemove one of two adjacent "your"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 11:27:07 +0000 (11:27 +0000)]
Remove one of two adjacent "your"s in a comment.

18 years agoRemove one of two adjacent "can"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 11:25:18 +0000 (11:25 +0000)]
Remove one of two adjacent "can"s in a comment.

18 years ago(getndelim2): Remove doubled "after" in comment.
Jim Meyering [Sat, 8 Jul 2006 09:58:13 +0000 (09:58 +0000)]
(getndelim2): Remove doubled "after" in comment.

18 years ago* tests/Coreutils.pm: Remove one of two adjacent "then"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 07:37:16 +0000 (07:37 +0000)]
* tests/Coreutils.pm: Remove one of two adjacent "then"s in a comment.

18 years ago* Makefile.maint (sc_the_the): New rule.
Jim Meyering [Sat, 8 Jul 2006 06:08:34 +0000 (06:08 +0000)]
* Makefile.maint (sc_the_the): New rule.

18 years ago* src/dd.c (skip): Remove one of two adjacent "the"s in a comment.
Jim Meyering [Sat, 8 Jul 2006 06:04:18 +0000 (06:04 +0000)]
* src/dd.c (skip): Remove one of two adjacent "the"s in a comment.

18 years ago* coreutils.texi (Squeezing): Separate doubled "the", so typo-checkers
Jim Meyering [Sat, 8 Jul 2006 06:03:50 +0000 (06:03 +0000)]
* coreutils.texi (Squeezing): Separate doubled "the", so typo-checkers
don't complain.

18 years ago* Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency.
Jim Meyering [Sat, 8 Jul 2006 05:31:59 +0000 (05:31 +0000)]
* Makefile.am (check-texinfo): Enforce the zeros vs. zeroes consistency.

18 years ago* coreutils.texi: Fix some typos. Use `zeros' consistently (both
Jim Meyering [Sat, 8 Jul 2006 05:28:39 +0000 (05:28 +0000)]
* coreutils.texi: Fix some typos.  Use `zeros' consistently (both
`zeros' and `zeroes' are correct).

18 years ago* NEWS: Mention that mv can now remove an empty destination directory,
Jim Meyering [Fri, 7 Jul 2006 06:38:36 +0000 (06:38 +0000)]
* NEWS: Mention that mv can now remove an empty destination directory,
and give an example.  Prompted by a report from Florent Bayle.

18 years ago* src/ls.c (usage): Correct the description of -G: it is useful
Jim Meyering [Wed, 5 Jul 2006 10:17:24 +0000 (10:17 +0000)]
* src/ls.c (usage): Correct the description of -G: it is useful
only in a long listing.  Reported by Martin Pool in
<https://launchpad.net/distros/ubuntu/+source/coreutils/+bug/51653>.

18 years ago* man/chmod.x: Correct the description of the sticky bit. Reported
Jim Meyering [Wed, 5 Jul 2006 10:03:55 +0000 (10:03 +0000)]
* man/chmod.x: Correct the description of the sticky bit.  Reported
by Chris Moore via Ian Jackson in <http://bugs.debian.org/376745>.

18 years ago* src/copy.c (copy_internal): Don't work around old NFS clients like
Jim Meyering [Wed, 5 Jul 2006 09:08:42 +0000 (09:08 +0000)]
* src/copy.c (copy_internal): Don't work around old NFS clients like
SunOS-4.1.4 and Irix 5.3 that set errno to values like EIO and
ENOTEMPTY upon failed rename.  Otherwise, we risk misinterpreting
a banal failure as a recursive move-into-self failure.
Reported by Florent Bayle in <http://bugs.debian.org/376749>.

18 years ago.
Jim Meyering [Wed, 5 Jul 2006 06:57:09 +0000 (06:57 +0000)]
.

18 years agoRegenerate, to remove fuzz.
Jim Meyering [Wed, 5 Jul 2006 06:57:00 +0000 (06:57 +0000)]
Regenerate, to remove fuzz.

18 years agoReally add wcwidth.h.
Jim Meyering [Tue, 4 Jul 2006 07:28:57 +0000 (07:28 +0000)]
Really add wcwidth.h.

18 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2006 07:28:45 +0000 (07:28 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jul 2006 07:23:10 +0000 (07:23 +0000)]
*** empty log message ***

18 years agoReally add wcwidth.m4.
Jim Meyering [Tue, 4 Jul 2006 07:17:34 +0000 (07:17 +0000)]
Really add wcwidth.m4.

18 years agoSync from gnulib.
Paul Eggert [Tue, 4 Jul 2006 05:39:07 +0000 (05:39 +0000)]
Sync from gnulib.

18 years agoSync from gnulib. Also:
Paul Eggert [Tue, 4 Jul 2006 05:38:32 +0000 (05:38 +0000)]
Sync from gnulib.  Also:
(gt_FUNC_SETENV): Undo private change that added an
AC_LIBSOURCES line here, since Bruno didn't buy it back.  Instead,
update ../lib/Makefile.am to mention the files explicitly.

18 years ago(gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
Paul Eggert [Tue, 4 Jul 2006 05:37:58 +0000 (05:37 +0000)]
(gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
sync from gnulib.

18 years ago(libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,
Paul Eggert [Tue, 4 Jul 2006 05:37:11 +0000 (05:37 +0000)]
(libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,
to accommodate sync from gnulib.

18 years agoInclude <sys/types.h> after @FULL_PATH_STDINT_H@, for
Paul Eggert [Tue, 4 Jul 2006 04:50:34 +0000 (04:50 +0000)]
Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
MacOS X 10.4.6.  Don't mention <sys/int_types.h>.

18 years agoPlug another unusual leak.
Jim Meyering [Mon, 3 Jul 2006 17:38:20 +0000 (17:38 +0000)]
Plug another unusual leak.
(AD_mark_helper): Free malloc'd filename if hash_insert says
that string is already in the hash table.

18 years ago* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
Jim Meyering [Mon, 3 Jul 2006 15:20:23 +0000 (15:20 +0000)]
* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
macro is used before the first cycle_check call.

18 years agoThe dev/inode of the topmost directory in each hierarchy were not
Jim Meyering [Mon, 3 Jul 2006 15:10:35 +0000 (15:10 +0000)]
The dev/inode of the topmost directory in each hierarchy were not
being recorded.
* src/remove.c (remove_cwd_entries): Don't call cycle_check here.
(AD_push): Call it from here instead.

18 years agoFix two small leaks.
Jim Meyering [Mon, 3 Jul 2006 13:14:01 +0000 (13:14 +0000)]
Fix two small leaks.
* src/remove.c (AD_stack_clear): New function.
(rm_1): Use it.
(AD_pop_and_chdir): Free *prev_dir just before longjmp.

18 years ago* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):
Jim Meyering [Mon, 3 Jul 2006 12:55:25 +0000 (12:55 +0000)]
* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):
Add $VG_PATH_PREFIX as a prefix to $PATH

18 years ago.
Jim Meyering [Mon, 3 Jul 2006 09:10:36 +0000 (09:10 +0000)]
.

18 years ago* tests/envvar-check (vars): Add CDPATH and POSIXLY_CORRECT.
Jim Meyering [Mon, 3 Jul 2006 08:37:50 +0000 (08:37 +0000)]
* tests/envvar-check (vars): Add CDPATH and POSIXLY_CORRECT.
* tests/Makefile.am (evar-check): Remove rule.
(EXTRA_DIST): Remove .env-warn.
* tests/.env-warn: Remove file.  No longer used.
Suggestion from Eric Blake.

18 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jul 2006 07:42:30 +0000 (07:42 +0000)]
*** empty log message ***

18 years ago(gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
Jim Meyering [Mon, 3 Jul 2006 07:42:27 +0000 (07:42 +0000)]
(gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
Suggestion from Ralf Wildenhues.

18 years ago(intmax_t, uintmax_t): Prefer long to long long if
Paul Eggert [Sun, 2 Jul 2006 09:15:08 +0000 (09:15 +0000)]
(intmax_t, uintmax_t): Prefer long to long long if
both are 64 bits.

18 years ago(gl_STDINT_H): Use more-mnemonic identifiers for
Paul Eggert [Sun, 2 Jul 2006 09:14:28 +0000 (09:14 +0000)]
(gl_STDINT_H): Use more-mnemonic identifiers for
test cases, so that config.log is a bit easier to follow.

18 years ago*** empty log message ***
Jim Meyering [Sun, 2 Jul 2006 08:29:30 +0000 (08:29 +0000)]
*** empty log message ***

18 years agoNew file, from gnulib. Required by stdint.m4.
Jim Meyering [Sun, 2 Jul 2006 08:29:26 +0000 (08:29 +0000)]
New file, from gnulib.  Required by stdint.m4.

18 years agoInclude <stdint.h> unconditionally, since we
Paul Eggert [Sun, 2 Jul 2006 07:09:25 +0000 (07:09 +0000)]
Include <stdint.h> unconditionally, since we
now assume the stdint module.

18 years agoSync stdint module from gnulib.
Paul Eggert [Sun, 2 Jul 2006 07:08:50 +0000 (07:08 +0000)]
Sync stdint module from gnulib.

18 years agoWith no operand, 'tail -f' now silently ignores the '-f'
Paul Eggert [Sat, 1 Jul 2006 23:53:05 +0000 (23:53 +0000)]
With no operand, 'tail -f' now silently ignores the '-f'
only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.

18 years ago(f-pipe-1): Renamed from f-1.
Paul Eggert [Sat, 1 Jul 2006 23:50:46 +0000 (23:50 +0000)]
(f-pipe-1): Renamed from f-1.
(test_vector): Set POSIXLY_CORRECT for the f-pipe-* tests.

18 years ago(main): With no operand, 'tail -f' now silently ignores the '-f'
Paul Eggert [Sat, 1 Jul 2006 23:50:15 +0000 (23:50 +0000)]
(main): With no operand, 'tail -f' now silently ignores the '-f'
only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.

18 years ago(tail invocation): With no operand, 'tail -f' now
Paul Eggert [Sat, 1 Jul 2006 23:49:46 +0000 (23:49 +0000)]
(tail invocation): With no operand, 'tail -f' now
silently ignores the '-f' only if standard input is a FIFO or pipe
and POSIXLY_CORRECT is set.

18 years ago* src/ln.c (do_link): Use new, shorter URL, for ag-review link.
Jim Meyering [Sat, 1 Jul 2006 07:04:52 +0000 (07:04 +0000)]
* src/ln.c (do_link): Use new, shorter URL, for ag-review link.

18 years agoAdd ^lib/xstrtold\.c$, so make distcheck passes once again.
Jim Meyering [Sat, 1 Jul 2006 06:50:30 +0000 (06:50 +0000)]
Add ^lib/xstrtold\.c$, so make distcheck passes once again.

18 years ago*** empty log message ***
Jim Meyering [Sat, 1 Jul 2006 06:44:22 +0000 (06:44 +0000)]
*** empty log message ***

18 years agoseq defaults to a minimal fixed point format that does not lose
Paul Eggert [Sat, 1 Jul 2006 00:11:23 +0000 (00:11 +0000)]
seq defaults to a minimal fixed point format that does not lose
information if seq's operands are all fixed point decimal numbers.
You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
for example, since the default format now has the same effect.

seq now lets you use %a, %A, %E, %F, and %G formats.

seq now uses long double internally rather than double.

18 years ago(seq invocation): seq now uses long double
Paul Eggert [Sat, 1 Jul 2006 00:10:21 +0000 (00:10 +0000)]
(seq invocation): seq now uses long double
internally rather than double.  It now defaults to a minimal fixed
point format if possible.  It lets you use %a, %A, %E, %F, %G.
Don't assume printf doesn't work for numbers that fit in 64 but
not 32 bits; typically they work these days.  Improve discussion
of large integers and update the rounding-error numbers.

18 years ago(XSTRTOD, DOUBLE): New macros, so that we can support
Paul Eggert [Sat, 1 Jul 2006 00:09:56 +0000 (00:09 +0000)]
(XSTRTOD, DOUBLE): New macros, so that we can support
both double and long double versions.
(XSTRTOD): Renamed from xstrtod.  Use DOUBLE internally.

18 years ago(xstrtold): New decl.
Paul Eggert [Sat, 1 Jul 2006 00:09:22 +0000 (00:09 +0000)]
(xstrtold): New decl.

18 years ago(gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
Paul Eggert [Sat, 1 Jul 2006 00:08:56 +0000 (00:08 +0000)]
(gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
want to require the building of c-strtod.o.

18 years ago(cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longer
Paul Eggert [Sat, 1 Jul 2006 00:08:31 +0000 (00:08 +0000)]
(cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longer
needs -lm directly.

18 years ago(gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.
Paul Eggert [Sat, 1 Jul 2006 00:08:05 +0000 (00:08 +0000)]
(gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.

18 years ago(gl_XSTRTOLD): New macro.
Paul Eggert [Sat, 1 Jul 2006 00:07:48 +0000 (00:07 +0000)]
(gl_XSTRTOLD): New macro.

18 years ago(seq_LDADD): Remove $(SEQ_LIBM); add $(POW_LIB).
Paul Eggert [Sat, 1 Jul 2006 00:07:26 +0000 (00:07 +0000)]
(seq_LDADD): Remove $(SEQ_LIBM); add $(POW_LIB).

18 years agoDon't include <math.h> or <xstrtol.h>; no longer needed.
Paul Eggert [Sat, 1 Jul 2006 00:07:06 +0000 (00:07 +0000)]
Don't include <math.h> or <xstrtol.h>; no longer needed.
(isfinite) [!defined isfinite]: New macro.
(separator, terminator): Now points to const.
(first, step, last): Remove.
(usage): Update to match new behavior.
(struct operand, operand): New type.
(scan_arg): Renamed from scan_double_arg, since we no longer use double.
All uses changed.
Compute and return a value of type operand, not double.
(long_double_format): Renamed from valid_format, and now returns a
new format with an "L" added if needed, if the original format was
valid.  Allow %a, %A, %E, %F, and %G formats.
(print_numbers): Take numeric values as args rather than from globals.
Print long double, not double.
(get_width_format): Remove.
(get_default_format): New function.
(main): Implement new way of calculating default format.
Don't worry about locale's representation of the decimal point, since
the arguments are always processed in the C locale.

18 years ago(neg-2): Adjust to new default format.
Paul Eggert [Sat, 1 Jul 2006 00:06:35 +0000 (00:06 +0000)]
(neg-2): Adjust to new default format.
(eq-wid-1, eq-wid-2): Resurrect these tests, since the new
implementation should do the right thing.

18 years agoInitial revision.
Paul Eggert [Sat, 1 Jul 2006 00:06:11 +0000 (00:06 +0000)]
Initial revision.

18 years ago* tests/stty/basic-1: Work around an intermittent test failure
Jim Meyering [Fri, 30 Jun 2006 10:31:42 +0000 (10:31 +0000)]
* tests/stty/basic-1: Work around an intermittent test failure
on HP-UX 11.11.  Report and analysis from Bob Proulx.
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7475

18 years agoFrom Derek R. Price:
Jim Meyering [Thu, 29 Jun 2006 21:45:51 +0000 (21:45 +0000)]
From Derek R. Price:
* lib/strftime.c: Assume strftime exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.

18 years ago* src/sort.c (main): Support obsolete usages like "sort +1 -2" even when
Paul Eggert [Wed, 28 Jun 2006 23:51:13 +0000 (23:51 +0000)]
* src/sort.c (main): Support obsolete usages like "sort +1 -2" even when
conforming to POSIX 1003.1-2001, since this is a pure extension to
POSIX.

18 years ago* coreutils.texi (sort invocation): 'sort +1 -2' is now supported
Paul Eggert [Wed, 28 Jun 2006 23:50:40 +0000 (23:50 +0000)]
* coreutils.texi (sort invocation): 'sort +1 -2' is now supported
even when conforming to POSIX 1003.1-2001.

18 years ago(sort invocation): 'sort +1 -2' is now supported
Paul Eggert [Wed, 28 Jun 2006 23:50:21 +0000 (23:50 +0000)]
(sort invocation): 'sort +1 -2' is now supported
even when conforming to POSIX 1003.1-2001, since this is a pure
extension to POSIX.

18 years agoSupport obsolete usages like "sort +1 -2" even when conforming to
Paul Eggert [Wed, 28 Jun 2006 23:49:58 +0000 (23:49 +0000)]
Support obsolete usages like "sort +1 -2" even when conforming to
POSIX 1003.1-2001.

18 years ago(CLOSEDIR): Remove. All uses changed to closedir.
Paul Eggert [Wed, 28 Jun 2006 22:24:54 +0000 (22:24 +0000)]
(CLOSEDIR): Remove.  All uses changed to closedir.

18 years ago* savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
Paul Eggert [Wed, 28 Jun 2006 22:24:14 +0000 (22:24 +0000)]
* savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.

18 years ago* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.
Paul Eggert [Wed, 28 Jun 2006 22:21:48 +0000 (22:21 +0000)]
* src/system.h (CLOSEDIR): Remove.  All uses changed to closedir.