Jim Meyering
086c4578e3
.
1999-08-17 08:00:19 +00:00
Jim Meyering
f99e33733b
.
1999-08-17 07:46:10 +00:00
Jim Meyering
843d60096e
(ARGMATCH_QUOTING_STYLE):
...
Change from escape_quoting_style to locale_quoting_style.
(argmatch_invalid): Use new quotearg_style primitive for simplicity.
Also, use ARGMATCH_QUOTING_STYLE to quote, instead of quoting ourselves.
1999-08-10 11:00:12 +00:00
Jim Meyering
bcfbd6fab1
(locale_quoting_style): New enum value.
...
(quotearg_n_style, quotearg_style): New decls.
1999-08-10 10:58:01 +00:00
Jim Meyering
84dc18f1db
Include <libintl.h> if ENABLE_NLS.
...
(_): New macro.
(quoting_style_args, quoting_style_v, quotearg_buffer): Add support
for locale_quoting_style, using _("`") and _("'") for open and close
quote symbols.
Do not quote spaces in escape_quoting_style.
(quotearg_n_style, quotearg_style): New functions.
1999-08-10 10:50:18 +00:00
Jim Meyering
89e470b8e2
fix typo
1999-08-08 10:16:53 +00:00
Jim Meyering
c127e62803
update prototype
1999-08-08 10:12:55 +00:00
Jim Meyering
0bb442899e
(savedir): Change type of name_size parameter to off_t.
1999-08-08 10:12:43 +00:00
Jim Meyering
12fbee444c
(OtherTable[]): Use tDAY_UNIT for `tomorrow,'
...
`yesterday,' `today,' and `now' rather than tMINUTE_UNIT. Of course
with correspondingly smaller numbers for tomorrow and yesterday.
This change does not change the way the code works, since the
grammar rules for the two symbols are analogous.
1999-08-07 09:50:34 +00:00
Jim Meyering
ed0c88b7f7
(quotearg_buffer):
...
Don't quote spaces if C quoting style.
1999-08-01 07:44:39 +00:00
Jim Meyering
e46de77883
.
1999-07-30 21:15:01 +00:00
Jim Meyering
a765a451e6
Include <sys/types.h> now that linebuffer.h uses
...
size_t. This is required on at least SunOS4. From Kaveh Ghazi.
1999-07-30 19:29:27 +00:00
Jim Meyering
a197ef9f3c
*** empty log message ***
1999-07-26 06:52:28 +00:00
Jim Meyering
8478414c5d
update comments
1999-07-20 18:52:05 +00:00
Jim Meyering
bca7546dcd
(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
...
(read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.
1999-07-20 18:41:58 +00:00
Jim Meyering
bc1d502816
.
1999-07-18 11:21:58 +00:00
Jim Meyering
9ea7513f11
(noinst_HEADERS): Add getpagesize.h.
1999-07-15 16:16:24 +00:00
Jim Meyering
1950561a91
.
1999-07-15 09:31:44 +00:00
Jim Meyering
13b5f7bc46
*** empty log message ***
1999-07-15 09:31:34 +00:00
Jim Meyering
6970bbc17b
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
...
Work around SunOS botch also when block size is different from 1k.
1999-07-15 07:50:06 +00:00
Jim Meyering
8287d3c4c4
*** empty log message ***
1999-07-10 16:40:33 +00:00
Jim Meyering
8b86e4459b
cpp indent and split a long line
1999-07-10 16:40:16 +00:00
Jim Meyering
c44e7a8352
use a space, not TAB after #define
1999-07-10 16:36:56 +00:00
Jim Meyering
d11ec4a80f
cpp indent
1999-07-10 16:36:11 +00:00
Jim Meyering
376c3fe740
[!defined strtoumax]: Declare strtoumax.
1999-07-04 10:40:04 +00:00
Jim Meyering
08da7047d0
.
1999-07-04 10:38:37 +00:00
Jim Meyering
bfd09e35cc
(readline): Leave room for an extra byte
...
after the newline; comm needs this for memcoll.
1999-07-04 10:31:01 +00:00
Jim Meyering
fac400a428
[struct linebuffer] (size): Declare to be of type size_t, not long.
...
[struct linebuffer] (length): Likewise.
1999-07-04 10:08:56 +00:00
Jim Meyering
894e9948f4
(readline): Append trailing newline to line.
1999-07-04 10:06:42 +00:00
Jim Meyering
56533a5671
(enum human_inexact_style): New enum.
...
(human_readable_inexact): New decl.
1999-07-04 08:47:49 +00:00
Jim Meyering
8999870c56
(human_readable): New function.
...
(human_readable_inexact): Renamed from human_readable, with new arg
INEXACT_STYLE. Add support for ceiling and floor.
1999-07-04 08:47:28 +00:00
Jim Meyering
589cf443b9
(__strtol): Remove decl; it doesn't work if __strtol
...
expands to a macro, which occurs in HP-UX 10.20 with strtoumax.
(strtol, strtoul): New decls (for pre-ANSI hosts), to replace
the above decl.
1999-07-04 08:34:31 +00:00
Jim Meyering
97c9216e92
.
1999-05-23 21:06:36 +00:00
Jim Meyering
5cd334b32e
.
1999-05-23 20:44:48 +00:00
Jim Meyering
994746ffe9
(libfu_a_SOURCES): Add same.c.
...
(noinst_HEADERS): Add same.h.
1999-05-23 20:40:59 +00:00
Jim Meyering
00fbb65ec1
*** empty log message ***
1999-05-23 19:43:10 +00:00
Jim Meyering
0e96b5d2e7
New file (function extracted from ln.c).
1999-05-23 19:42:59 +00:00
Jim Meyering
67fbe7e2a0
remove trailing newline
1999-05-21 20:47:18 +00:00
Jim Meyering
0f5bb7dd4e
add the comment to go with last change
1999-05-20 03:49:25 +00:00
Jim Meyering
a0766fb80f
(get_date): Let mktime deduce tm_isdst if we
...
have an absolute timestamp, or if the relative timestamp
mentions days, months, or years.
1999-05-20 03:47:24 +00:00
Jim Meyering
1ee4fffc88
(human_readable): Allow from_block_size to be zero.
1999-05-17 13:03:46 +00:00
Jim Meyering
dad89f8b93
.
1999-05-15 05:46:45 +00:00
Jim Meyering
634a39aad5
(getugroups): Don't dereference a null pointer when
...
running `id USER' for some USER that is listed on the RHS in /etc/group.
From Sander van Malssen.
Add some curly braces, use STREQ, reverse the sense of a test
and use `continue' to save a level of nesting.
1999-05-15 04:50:26 +00:00
Jim Meyering
2d97b1c61b
(version_etc): Put version info and author names
...
on the first two lines respectively rather than putting the three
lines of copyright info between them.
1999-05-14 17:11:03 +00:00
Jim Meyering
c93ac403ed
Include <string.h> or <strings.h> for strlen prototype.
1999-05-13 20:48:44 +00:00
Jim Meyering
4c9f46a4a1
[__GLIBC__ >= 2]: #if-out prototypes.
1999-05-13 20:44:45 +00:00
Jim Meyering
f1b3fb4f3b
Update from libc.
1999-05-10 04:24:49 +00:00
Jim Meyering
07053344dc
.
1999-05-07 18:52:35 +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
9f8bc128f0
(read_utmp): Use the new definitions.
1999-05-05 13:34:18 +00:00