Jim Meyering
a12ea0b255
(my_strftime): Let the `-' (no-pad) flag affect
...
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-05-12 08:19:05 +00:00
Jim Meyering
8a3a1ce11f
*** empty log message ***
2003-05-08 09:26:42 +00:00
Jim Meyering
de261015e8
(timespec_subtract): Don't modify the 2nd arg.
...
Work even if X-Y overflows when subtracting. Make explicit the
assumption that tv_nsec must be in range.
(clock_get_realtime): Remove. All callers changed to invoke gettime,
for simplicity.
(xnanosleep): Check for gettime failure every time.
2003-05-08 09:26:34 +00:00
Jim Meyering
f197628cb2
(clock_get_realtime): Use gettime.c's gettime function,
...
rather than an inferior, open-coded version that would fail on
AIX systems due to clock_gettime failing with errno == ENOSYS.
2003-05-08 06:26:00 +00:00
Jim Meyering
b8dcf7b6e4
*** empty log message ***
2003-05-06 22:22:06 +00:00
Jim Meyering
78986d419d
*** empty log message ***
2003-05-05 07:55:18 +00:00
Jim Meyering
a8916294ec
(struct dummy): Ensure that at least the number of
...
initializers matches the number of members in the corresponding enum.
2003-05-05 07:54:19 +00:00
Jim Meyering
95623ba86e
(enum Ftw_option): Name this previously-anonymous enum.
...
(enum Ftw_option) [FTW_N_MEMBERS]: New member.
2003-05-05 07:52:26 +00:00
Jim Meyering
75fa058191
Avoid array overrun.
...
(nftw_arr): Update to reflect complete list of members.
(ftw_arr): Likewise
2003-05-05 07:31:49 +00:00
Jim Meyering
f4fbb39dfd
*** empty log message ***
2003-05-04 08:30:25 +00:00
Jim Meyering
8b4a10178b
*** empty log message ***
2003-05-04 08:30:09 +00:00
Jim Meyering
6754f257e0
(__set_errno, LOCK, UNLOCK): Define.
...
(unsetenv): Update from GNU libc.
Ifdef-out this function, since the only caller
is putenv.c and that file now has its own copy.
2003-05-04 08:30:01 +00:00
Jim Meyering
986b5eca57
*** empty log message ***
2003-05-04 08:26:15 +00:00
Jim Meyering
cf09ab79a3
This avoids a core dump on systems without GNU putenv,
...
when running `env -u SOME_ALREADY_UNSET_VARIABLE'.
(unsetenv): New static function, from libc.
(rpl_putenv): Use it.
2003-05-04 08:26:09 +00:00
Jim Meyering
3b0e09ef8c
*** empty log message ***
2003-05-02 21:43:00 +00:00
Jim Meyering
35cad8ae05
(canonicalize_file_name) [!HAVE_RESOLVEPATH]:
...
A memory-allocation error could result in heap corruption. Fix it
by also updating `dest' when rpath may be changed by xrealloc.
2003-05-02 21:42:51 +00:00
Jim Meyering
fa4150ded7
.
2003-04-24 13:51:05 +00:00
Jim Meyering
e86f0c1699
*** empty log message ***
2003-04-15 06:23:27 +00:00
Jim Meyering
5efadd5e0f
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:22:54 +00:00
Jim Meyering
7e4874c0d8
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:22:33 +00:00
Jim Meyering
533c50216e
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:21:52 +00:00
Jim Meyering
b694daa08f
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:21:29 +00:00
Jim Meyering
c2f1bf1c95
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:19:03 +00:00
Jim Meyering
d882eab2f2
Remove (or replace-with-TAB(s) to retain alignment)
...
each sequence of spaces before a TAB character.
2003-04-15 06:18:05 +00:00
Jim Meyering
bc076eac2f
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
2003-04-11 14:06:02 +00:00
Jim Meyering
df80970dd5
*** empty log message ***
2003-04-11 14:05:51 +00:00
Jim Meyering
1fd5c0ae41
Include <string.h> and <stdlib.h> unconditionally.
2003-04-11 12:21:59 +00:00
Jim Meyering
58b92bbeb2
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
2003-04-11 12:20:35 +00:00
Jim Meyering
9def4be367
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
2003-04-11 12:15:21 +00:00
Jim Meyering
2b64c3929a
.
2003-04-11 12:03:38 +00:00
Jim Meyering
aa32168619
(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.
2003-04-11 11:59:11 +00:00
Jim Meyering
0bf873ccfb
*** empty log message ***
2003-04-11 11:56:44 +00:00
Jim Meyering
6eb5e28e87
Remove use of PARAMS.
2003-04-11 11:56:41 +00:00
Jim Meyering
3bb4efc2af
(PARAMS): Remove definitions and uses.
2003-04-11 11:55:33 +00:00
Jim Meyering
97cab1d39b
*** empty log message ***
2003-04-10 17:03:30 +00:00
Jim Meyering
31c3844239
(canonicalize_file_name): NUL-terminate the result.
2003-04-10 17:03:26 +00:00
Jim Meyering
e02387ea57
(canonicalize_file_name): Always free `extra_buf' before returning.
2003-04-10 16:54:19 +00:00
Jim Meyering
ef6c004648
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
...
Otherwise, `readlink --canonical /no-such-file' would exhaust
virtual memory on some systems (e.g. Solaris).
2003-04-10 16:47:35 +00:00
Jim Meyering
357066c663
*** empty log message ***
2003-04-10 15:57:56 +00:00
Jim Meyering
1b2123bba3
(canonicalize_file_name): Remove stray semicolon
...
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g.,
Solaris systems.
2003-04-10 15:57:45 +00:00
Jim Meyering
0622704dce
.
2003-04-05 18:04:06 +00:00
Jim Meyering
6617d20345
*** empty log message ***
2003-04-05 16:53:03 +00:00
Jim Meyering
c573813515
(DEFS): Use += notation rather than `DEFS = ... @DEFS@'.
...
Use $(VAR) rather than @VAR@, now that we can rely on automake to
emit a definition for each substituted variable.
2003-04-05 16:52:48 +00:00
Jim Meyering
c8c1fb97a3
*** empty log message ***
2003-04-04 19:35:57 +00:00
Jim Meyering
4d4896eef3
[TEST_DIRNAME]: Update build instructions for test.
...
Add test-cases for DOS filenames. Declare program_name.
(main): Set up program_name.
2003-04-04 19:35:54 +00:00
Jim Meyering
e08b6d5fe7
*** empty log message ***
2003-03-22 19:42:50 +00:00
Jim Meyering
06fc494da3
(widen): Cast alloca return value to proper type.
2003-03-22 19:42:42 +00:00
Jim Meyering
206ea8eee6
*** empty log message ***
2003-03-22 19:39:48 +00:00
Jim Meyering
d777b396b7
(NEW_PATTERN): Cast alloca to proper type.
...
Otherwise, it wouldn't compile with at least /bin/cc on
ymp-cray-unicos9.0.2.X.
Combine two mostly-identical uses of alloca into one.
2003-03-22 19:39:40 +00:00
Jim Meyering
991e476b56
.
2003-03-20 10:11:45 +00:00