Jim Meyering
7a998d1011
*** empty log message ***
2005-08-31 07:51:07 +00:00
Jim Meyering
db875eadae
(quotearg_n_options): Change code to be suboptimal, in
...
order to avoid an unsuppressible warning from gcc on 64-bit systems.
2005-08-31 07:51:04 +00:00
Jim Meyering
30a8d137dd
*** empty log message ***
2005-08-31 07:20:21 +00:00
Jim Meyering
b2678575aa
(get_charset_aliases): Add `void' in parameter list
...
to placate gcc's -Wstrict-prototypes.
2005-08-31 07:19:26 +00:00
Jim Meyering
8cb5f87f68
update from gnulib
2005-08-28 09:18:33 +00:00
Jim Meyering
0b7a9db3fd
New file
2005-08-27 20:50:42 +00:00
Jim Meyering
1cd6d2b83b
Include <sys/types.h> and declare creat_safer.
2005-08-27 20:43:26 +00:00
Jim Meyering
21e8dcda49
*** empty log message ***
2005-08-27 16:12:25 +00:00
Jim Meyering
dbe6e77865
*** empty log message ***
2005-08-27 16:12:16 +00:00
Jim Meyering
bd17f9b9e1
Use `#error' rather than a string literal to provoke failure.
2005-08-27 16:11:43 +00:00
Jim Meyering
4157054167
*** empty log message ***
2005-08-25 16:28:21 +00:00
Jim Meyering
dd03b039e8
Include <config.h>.
...
Otherwise, we'd lose LARGEFILE support in any file using e.g. "fcntl--.h"
2005-08-25 16:28:18 +00:00
Jim Meyering
1d6e649c83
*** empty log message ***
2005-08-24 15:25:33 +00:00
Jim Meyering
f80cc28124
(stdopen): Revert to iterating over descriptors, but
...
rather than using fstat, use fcntl with its F_GETFD flag, which
is more efficient. Unlike the 2-syscall dup-close approach,
this one doesn't apply any unnecessary pressure on the file
descriptor pool -- thus there is one fewer way to fail.
2005-08-24 15:25:29 +00:00
Jim Meyering
55fb58f426
adjust prototype
...
Include stdbool.h.
2005-08-24 13:01:31 +00:00
Jim Meyering
2f8742484d
*** empty log message ***
2005-08-23 19:42:08 +00:00
Jim Meyering
6cd08ed8ea
Update from gnulib.
2005-08-23 19:41:09 +00:00
Jim Meyering
88b1cd5a53
.
2005-08-23 16:58:04 +00:00
Paul Eggert
ff2fecfbe9
Import from gnulib.
...
(__restrict_arr): Don't define to __restrict if __cplusplus is defined.
2005-08-19 21:14:12 +00:00
Jim Meyering
2e4d4691b0
*** empty log message ***
2005-08-19 17:18:08 +00:00
Jim Meyering
cc6d255ed5
(stdopen): Return `bool' so caller can detect failure.
2005-08-19 17:18:04 +00:00
Jim Meyering
147d65828a
*** empty log message ***
2005-08-17 19:55:57 +00:00
Jim Meyering
cb3da21f16
Make the %s format (seconds since the epoch) work for a negative
...
number and when used with a zero-padded field width, e.g. %015s.
(my_strftime): Move the `do_number_sign_and_padding'
label so that it precedes the code to set `digits'. Otherwise,
%0Ns wouldn't work. Before this change, `date -d @-22 +%05s' would
print `00-22'. Now, it prints `-0022', as it should.
2005-08-17 19:55:52 +00:00
Jim Meyering
ce10740dac
make log entry more accurate
2005-08-15 09:11:17 +00:00
Jim Meyering
9d8e8ad521
*** empty log message ***
2005-08-13 12:10:22 +00:00
Jim Meyering
0971b8d8a9
(get_date): Undo part of the 2005-04-04 change, so that
...
the command "date -d'2005-03-27 +1 day'" succeeds once again, even
when run in a time zone for which daylight savings time is in effect
for the starting date.
2005-08-13 12:10:05 +00:00
Jim Meyering
04de70c8d2
*** empty log message ***
2005-08-12 13:17:05 +00:00
Jim Meyering
320b71c4d3
(re_string_realloc_buffers): Rename local-shadowed
...
variable: s/new_array/offsets/.
(re_acquire_state) [lint]: Set *err, to avoid warnings in caller.
2005-08-12 13:16:47 +00:00
Jim Meyering
2e24888889
(regexec, re_search_stub) [!_LIBC]: Omit declaration of unused local, dfa.
...
(proceed_next_node): Remove outer declaration and
unnecessary initialization of local-shadowed `dest_node'.
Declare it in inner scopes, nearer its uses instead.
2005-08-12 13:16:26 +00:00
Jim Meyering
d7d1532698
(duplicate_node) [lint]: Set *new_idx to -1, to avoid
...
warnings (unfounded) in caller that it may be used uninitialized.
2005-08-12 13:10:17 +00:00
Jim Meyering
39a33e5f64
*** empty log message ***
2005-08-12 13:02:23 +00:00
Jim Meyering
956fd9d0d1
Mention that with FTS_LOGICAL, we use FTS_TIGHT_CYCLE_CHECK.
2005-08-12 13:02:17 +00:00
Jim Meyering
fe90fa6a61
(setup_dir, enter_dir, leave_dir, free_dir):
...
Use the hash-table-based cycle-detection code not just when
FTS_TIGHT_CYCLE_CHECK if specified, but also with FTS_LOGICAL.
Reported by James Youngman in
<http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00011.html >.
2005-08-12 13:02:01 +00:00
Jim Meyering
6806c6a801
(fts_cross_check) [FTS_DEBUG]: s/active_dir_ht/fts_cycle.ht/.
2005-08-12 13:00:57 +00:00
Jim Meyering
fdaa1ce849
(IF_LINT): Define.
2005-08-12 12:41:56 +00:00
Jim Meyering
fa237b382f
(RE_SYNTAX_POSIX_AWK): Remove useless space-before-TAB.
2005-08-12 12:41:41 +00:00
Jim Meyering
0508157932
.
2005-08-02 21:15:19 +00:00
Jim Meyering
c5739dcf8e
*** empty log message ***
2005-08-02 20:47:46 +00:00
Jim Meyering
8822b68f9e
new files
2005-08-02 20:47:37 +00:00
Paul Eggert
317a0f7a07
Fix getdate bug with relative times.
2005-07-21 22:00:55 +00:00
Paul Eggert
217cd893ef
(relative_time): New type.
...
(RELATIVE_TIME_0): New constant.
(parser_control): Use relative_time instead of doing it ourselves.
(%union): Add new relative_time rel member.
(tYEAR_UNIT, tMONTH_UNIT, tHOUR_UNIT, tMINUTE_UNIT, tSEC_UNIT):
Now typeless.
(relunit, relunit_snumber): Now of type rel.
(zone, rel, relunit, get_date): Adjust to above changes.
2005-07-21 22:00:34 +00:00
Jim Meyering
f63845ae12
*** empty log message ***
2005-07-12 16:48:12 +00:00
Jim Meyering
40db6abec1
(X2NREALLOC): Define.
2005-07-12 16:47:37 +00:00
Jim Meyering
95550da8d3
.
2005-07-12 16:44:52 +00:00
Jim Meyering
eb3e6a0569
replace leading spaces with a TAB
2005-07-12 15:36:07 +00:00
Paul Eggert
7c97d643b9
(verify_expr): Use ((verify_type__ (R) *) 0), not
...
sizeof (verify_type__ (R)), to pacify C++ compilers.
2005-07-11 23:28:09 +00:00
Paul Eggert
6a406d5d8b
Reword copyright notices to conform to current GNU coding standards.
2005-07-11 21:59:08 +00:00
Paul Eggert
51ae476ad8
Parameterize the copyright symbol and the year.
2005-07-11 21:58:50 +00:00
Paul Eggert
8fb97bd54a
(COPYRIGHT_YEAR): New constant.
...
(version_etc_va): Use parameterized copyright notice.
Reword to conform to the current GNU coding standards.
2005-07-11 21:58:32 +00:00
Paul Eggert
d3fdc82a4e
(getloadavg) [__CYGWIN__]: Port to cygwin.
...
[__linux__]: Allocate a big enough buffer for /proc/loadavg.
[!LDAV_DONE]: Avoid unused variable warning.
2005-07-08 23:41:43 +00:00