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
Paul Eggert
64890758cf
(init_dfa, build_range_exp): Store __btowc value
...
in wint_t, not wchar_t. Remove now-unnecessary cast.
2005-07-08 17:58:35 +00:00
Paul Eggert
060594db56
Regenerate.
2005-07-08 00:35:04 +00:00
Paul Eggert
ce3bb28d95
Switch to Isamu Hasegawa's implementation of regex, which is
...
now in gnulib.
2005-07-08 00:23:15 +00:00
Paul Eggert
36a263effc
Add regcomp.c, regex_internal.c, regex_internal.h.
2005-07-08 00:22:14 +00:00
Paul Eggert
88ca28f3d7
(libcoreutils_a_SOURCES): Remove regex.h; gnulib
...
now does this automatically for us.
2005-07-08 00:14:05 +00:00
Jim Meyering
52c7a92b85
.
2005-07-07 17:59:05 +00:00
Jim Meyering
e74c15dd5a
fix typo in comment
2005-07-05 07:33:50 +00:00
Paul Eggert
6ef09ecf57
verify.h improvements.
2005-07-05 05:16:29 +00:00
Paul Eggert
5ad307bfc0
* verify.h (GL_CONCAT0, GL_CONCAT): Define unconditionally; don't
...
depend on whether verify_decl is defined.
(verify): Renamed from verify_decl. All uses changed.
Use an extern function decl, as it can't possibly collide with other
decls.
(verify_expr): Renamed from verify. All uses changed.
(verify_type__): New private macro.
(verify, verify_expr): Use it.
2005-07-05 05:16:08 +00:00
Jim Meyering
e2b7434615
rename: s/verify_dcl/verify_decl/
2005-07-04 17:39:48 +00:00
Jim Meyering
14ad8a2da7
*** empty log message ***
2005-07-04 16:09:10 +00:00
Jim Meyering
302c7df271
(libcoreutils_a_SOURCES): Add verify.h here, temporarily.
...
Eventually, it'll be pulled in via AC_LIBSOURCES.
2005-07-04 16:09:03 +00:00
Jim Meyering
979600d391
*** empty log message ***
2005-07-04 16:05:44 +00:00
Jim Meyering
cfdfe3e318
(verify, verify_dcl): New file/macros.
2005-07-04 16:05:41 +00:00
Jim Meyering
a54b48abe6
*** empty log message ***
2005-07-04 14:47:47 +00:00
Jim Meyering
13bda3c7c6
(verify_dcl): Rename from VERIFY. Update use.
2005-07-04 14:47:42 +00:00
Paul Eggert
9a00b08ea6
Remove the dependency of the strftime module on the tzset module.
2005-07-04 05:07:30 +00:00
Paul Eggert
d96382a5e9
(my_strftime) [! defined _LIBC && ! HAVE_RUN_TZSET_TEST]:
...
Copy the input structure, to work around some of the bug with
Solaris 2.5.1 and Solaris 2.6.
2005-07-04 05:06:44 +00:00