Jim Meyering
11f093839f
*** empty log message ***
1999-05-09 15:03:58 +00:00
Jim Meyering
d1520cea68
whoops -- revert last change
1999-05-09 15:03:52 +00:00
Jim Meyering
9cc8d1f6a9
(Makefile.in): Depend on Makefile.maint.
1999-05-09 15:02:44 +00:00
Jim Meyering
48d1df6825
.
1999-05-09 15:02:16 +00:00
Jim Meyering
3a7457ae6c
.
1999-05-09 15:01:52 +00:00
Jim Meyering
fe76db396c
(neg-nls): New test.
1999-05-09 15:01:40 +00:00
Jim Meyering
dd992130c6
(fraccompare, numcompare): Merge the NLS and
...
non-NLS versions into a single function.
(decimal_point): Now char, since we no longer convert to unsigned char.
(th_sep): Now int, since we use a value out of char range to denote
the absence of a thousands separator.
(IS_THOUSANDS_SEP): New macro.
(USE_NEW_FRAC_COMPARE): Remove.
(nls_set_fraction): Arg is now char, not unsigned char.
Set th_sep to CHAR_MAX + 1 if there is no thousands separator.
(numcompare): Don't convert to unsigned char unless necessary.
(main): Turn off decimal points and thousand separators if they
are multibyte characters, as we don't support that yet.
1999-05-09 03:27:24 +00:00
Jim Meyering
02d760e232
* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
...
and all the *_MIN and *_MAX symbols): Remove definitions.
* src/sys2.h: Put the definitions here instead (this file is shared
between all three *utils packages, while system.h is not).
1999-05-08 23:29:47 +00:00
Jim Meyering
4905751e2f
* src/system.h (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM,
...
and all the *_MIN and *_MAX symbols): Remove definitions.
* src/sys2.h: Put the definitions here instead (this file is shared
between all three *utils packages, while system.h is not).
1999-05-08 23:28:42 +00:00
Jim Meyering
d103085de3
(handle_line_error): Use %s, not %d, now that human_readable
...
converts it to a string.
1999-05-07 19:15:37 +00:00
Jim Meyering
9bc1a80b4e
*** empty log message ***
1999-05-07 19:00:44 +00:00
Jim Meyering
99ed77dea6
import latest
1999-05-07 18:54:34 +00:00
Jim Meyering
bda57be904
*** empty log message ***
1999-05-07 18:53:01 +00:00
Jim Meyering
07053344dc
.
1999-05-07 18:52:35 +00:00
Jim Meyering
f31052628d
*** empty log message ***
1999-05-07 18:49:09 +00:00
Jim Meyering
8e03e30c05
clean up
1999-05-07 18:48:45 +00:00
Jim Meyering
0ef3c5d7fc
(TESTS_ENVIRONMENT): Remove individual
...
upper-case program names. Add a definition of PATH.
(TESTS): Add dir-1.
1999-05-07 18:47:50 +00:00
Jim Meyering
a06a563ea4
(touch): Only do the fstat if we need to.
...
Resort to calling stat for directories, but only when necessary.
(usage): Mention --no-create.
1999-05-07 18:44:20 +00:00
Jim Meyering
9250d1a34f
(main): Use better wording in diagnostic: `cannot
...
create directory' rather than `cannot make directory'. The former
also matches the one in makepath.c.
1999-05-07 18:40:11 +00:00
Jim Meyering
a8d7df994f
(apply_translations): Use TOUPPER, not toupper.
1999-05-07 18:36:54 +00:00
Jim Meyering
b10e58db1b
(numcompare): Handle comparison of two negative
...
numbers correctly in the ENABLE_NLS case.
1999-05-06 21:51:06 +00:00
Jim Meyering
a440742330
(make_dir): When reporting a mkdir failure and the
...
target cannot be `stat'ed, use the errno from the failed mkdir call,
not the one from the stat call. Before this change, running
`mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly
elicit `No such file or directory' instead of `Permission denied'.
1999-05-06 02:10:34 +00:00
Jim Meyering
f466b6448a
*** empty log message ***
1999-05-05 13:34:29 +00:00
Jim Meyering
9f8bc128f0
(read_utmp): Use the new definitions.
1999-05-05 13:34:18 +00:00
Jim Meyering
b0cc976ab9
Add definitions to help read utmpx on systems with utmpname.
...
(UTMP_NAME_FUNCTION): Define.
(SET_UTMP_ENT): Likewise.
(GET_UTMP_ENT): Likewise.
(END_UTMP_ENT): Likewise.
1999-05-05 13:34:02 +00:00
Jim Meyering
632b63d59c
*** empty log message ***
1999-05-05 13:26:22 +00:00
Jim Meyering
1db78f41bf
(show_date): Change an automatic aggregate initializer
...
to be a static one. For SunOS4's cc.
1999-05-05 13:26:06 +00:00
Jim Meyering
7c48860ed8
*** empty log message ***
1999-05-05 13:21:55 +00:00
Jim Meyering
1b0901bb9e
(TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define.
...
(ULONG_LONG_MAX, LONG_LONG_MAX, LONG_LONG_MIN): Define if not defined.
Based on a patch from Kaveh Ghazi.
1999-05-05 13:21:29 +00:00
Jim Meyering
76a9b4dc10
*** empty log message ***
1999-05-05 13:16:42 +00:00
Jim Meyering
19d33cea2b
(USE_ACL): Define this only #if
...
(HAVE_SYS_ACL_H && HAVE_ACL && defined GETACLCNT).
Use `USE_ACL' in place of `HAVE_ACL' everywhere else. From Kaveh Ghazi.
1999-05-05 13:12:28 +00:00
Jim Meyering
c4ddb7f83a
Include makepath.h libintl.h, not after it.
...
Otherwise, we'd get the wrong definition of PARAMS from libintl.h.
(The method of defining PARAMS in libintl.h doesn't check PROTOTYPES,
which is necessary on Irix4 since cc doesn't define __STDC__.)
From Kaveh Ghazi.
1999-05-05 03:05:11 +00:00
Jim Meyering
431db6c847
add missing backslash-before-newline in usage message
1999-05-05 01:56:45 +00:00
Jim Meyering
207d6b3cda
add missing backslash-before-newline in usage message
1999-05-05 01:55:39 +00:00
Jim Meyering
bbefeb160b
*** empty log message ***
1999-05-04 21:13:54 +00:00
Jim Meyering
89d0895332
(AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
...
not CPPFLAGS, so that linking works correctly in IRIX.
1999-05-04 21:13:47 +00:00
Jim Meyering
cb5153fefa
(usage): Break the usage message into 3 pieces instead of
...
only 2. The strings had grown to be longer than 2048, which evokes
errors when compiling with Irix4's cc.
1999-05-04 18:46:06 +00:00
Jim Meyering
b08eca15fd
(search_item): Use 1' instead of +1'. The latter
...
elicits a syntax error from SunOS4's cc. From Kaveh Ghazi.
1999-05-04 14:31:27 +00:00
Jim Meyering
6f922edf2d
<ctype.h>: Don't include.
...
[!STDC_HEADERS]: Remove definitions of ctype macros.
Convert e.g., isspace to ISSPACE to use definitions from sys2.h.
Reported by Kaveh Ghazi.
1999-05-03 18:01:49 +00:00
Jim Meyering
85514c7e0b
(TOLOWER): Define.
...
(TOUPPER): Define.
1999-05-03 17:59:43 +00:00
Jim Meyering
e060631c35
(TOLOWER): Remove definition.
1999-05-03 17:55:53 +00:00
Jim Meyering
cac31ff114
*** empty log message ***
SH-UTILS-1_16h
1999-05-03 03:58:40 +00:00
Jim Meyering
f0e23dcff9
*** empty log message ***
1999-05-03 03:56:46 +00:00
Jim Meyering
b3faad27ed
.
1999-05-03 02:46:54 +00:00
Jim Meyering
38121144b2
.
1999-05-03 02:45:51 +00:00
Jim Meyering
73bc7f0777
(main): Give a better diagnostic when we fail to set the hostname.
1999-05-03 02:45:37 +00:00
Jim Meyering
99571c629e
(main): Manually handle `--', since we no longer call getopt.
1999-05-03 02:42:49 +00:00
Jim Meyering
4f40ac7422
(read_utmp): Ignore the return value from utmpname.
1999-05-03 02:38:50 +00:00
Jim Meyering
1610efe2fd
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.
1999-05-01 04:33:45 +00:00
Jim Meyering
1c70e83474
*** empty log message ***
1999-05-01 04:15:43 +00:00