Paul Eggert
cb052e4f6c
Update from gnulib.
2006-07-09 16:59:05 +00:00
Paul Eggert
28edf6a75e
(stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,
...
to accommodate update from gnulib.
2006-07-09 16:57:35 +00:00
Jim Meyering
ecdb09854e
(getndelim2): Remove doubled "after" in comment.
2006-07-08 09:58:13 +00:00
Jim Meyering
addbdadf16
Really add wcwidth.h.
2006-07-04 07:28:57 +00:00
Jim Meyering
2880a90019
*** empty log message ***
2006-07-04 07:28:45 +00:00
Jim Meyering
ba761d685f
*** empty log message ***
2006-07-04 07:23:10 +00:00
Paul Eggert
6a97405672
Sync from gnulib.
2006-07-04 05:39:07 +00:00
Paul Eggert
71e6c80352
(libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,
...
to accommodate sync from gnulib.
2006-07-04 05:37:11 +00:00
Paul Eggert
948ca71450
Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
...
MacOS X 10.4.6. Don't mention <sys/int_types.h>.
2006-07-04 04:50:34 +00:00
Jim Meyering
1a29d221b8
* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
...
macro is used before the first cycle_check call.
2006-07-03 15:20:23 +00:00
Paul Eggert
001f33d478
(intmax_t, uintmax_t): Prefer long to long long if
...
both are 64 bits.
2006-07-02 09:15:08 +00:00
Paul Eggert
047839ffb4
Sync stdint module from gnulib.
2006-07-02 07:08:50 +00:00
Paul Eggert
69f1a97138
seq defaults to a minimal fixed point format that does not lose
...
information if seq's operands are all fixed point decimal numbers.
You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
for example, since the default format now has the same effect.
seq now lets you use %a, %A, %E, %F, and %G formats.
seq now uses long double internally rather than double.
2006-07-01 00:11:23 +00:00
Paul Eggert
3964d508e2
(XSTRTOD, DOUBLE): New macros, so that we can support
...
both double and long double versions.
(XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
2006-07-01 00:09:56 +00:00
Paul Eggert
42ae65127f
(xstrtold): New decl.
2006-07-01 00:09:22 +00:00
Paul Eggert
74d539a32f
Initial revision.
2006-07-01 00:06:11 +00:00
Jim Meyering
2e63aaa8a9
From Derek R. Price:
...
* lib/strftime.c: Assume strftime exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.
2006-06-29 21:45:51 +00:00
Paul Eggert
ab621d9fa1
(CLOSEDIR): Remove. All uses changed to closedir.
2006-06-28 22:24:54 +00:00
Paul Eggert
9d5fbcc019
(openat): Use ?:, not if, to work around GCC bug 4210.
2006-06-20 19:20:25 +00:00
Jim Meyering
8280381dd7
fix typo in comment: s/nerrower/narrower/
2006-06-20 10:19:40 +00:00
Jim Meyering
d5a9087fb1
*** empty log message ***
2006-06-19 19:13:04 +00:00
Jim Meyering
bee8bb4c9b
Apply this change from gnulib:
...
2006-06-16 Eric Blake <ebb9@byu.net >
* unsetenv.c [!defined errno]: Assume errno.h declares errno.
2006-06-19 19:13:00 +00:00
Paul Eggert
ff276995ff
(__attribute__): Don't define if already defined.
2006-06-11 07:11:31 +00:00
Jim Meyering
949ed19da0
Apply this change from gnulib:
...
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
Bruno Haible <bruno@clisp.org >
* strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
2006-06-10 09:10:12 +00:00
Paul Eggert
f9265a7efe
* regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun
...
reported by Andreas Schwab.
2006-06-05 05:21:46 +00:00
Paul Eggert
e9eb2ad579
(small_open, large_open): New macros.
...
(__open, __open64) [!_LIBC]: Remove.
(__gen_tempname): Use small_open and large_open instead of __open
and __open64. This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html >.
2006-05-25 21:57:22 +00:00
Paul Eggert
8ebe82ae29
Fix misspelling.
2006-05-23 07:48:31 +00:00
Paul Eggert
bd52082675
Note problem with string.h.
2006-05-23 07:48:12 +00:00
Paul Eggert
41f08b2239
filemode.c: Don't include <string.h>.
2006-05-23 07:47:51 +00:00
Paul Eggert
82008e43bd
Don't include <string.h>; this include was
...
inadvertantly put into the previous patch.
2006-05-23 07:47:32 +00:00
Paul Eggert
c512471974
* filemode.c (setst): Remove.
...
(strmode): Rewrite to avoid setst. This makes the code shorter,
(arguably) clearer, and the generated code is a bit smaller on my
Debian GNU/Linux stable x86 host.
2006-05-22 20:11:45 +00:00
Paul Eggert
900b6598d1
Document the internals better. Most of this change
...
was written by Bruno Haible.
2006-05-22 18:01:48 +00:00
Jim Meyering
3e3aff9926
*** empty log message ***
2006-05-20 22:18:20 +00:00
Jim Meyering
8fb9de41d5
(fts_open): Fail with EINVAL if a caller violates this rule:
...
Either FTS_LOGICAL or FTS_PHYSICAL must be provided to the
fts_open() function.
2006-05-20 22:18:16 +00:00
Paul Eggert
86873e5082
Sync nanosleep from gnulib.
2006-05-19 18:03:25 +00:00
Jim Meyering
db19f3df8b
*** empty log message ***
2006-05-15 13:28:28 +00:00
Jim Meyering
212ffe61af
(xfts_open): Always use FTS_CWDFD.
2006-05-15 13:28:24 +00:00
Jim Meyering
06918c9589
*** empty log message ***
2006-05-15 10:59:15 +00:00
Jim Meyering
63deb75831
Avoid the expense of an fstat, when possible.
...
(O_NOFOLLOW, STREQ): Define.
(diropen_fd): Remove function. Merge it into sole caller...
(diropen): ...here. Use O_NOFOLLOW when appropriate.
(fts_safe_changedir): Call fstat for dev/inode check, only if the
previous open/openat call may have opened the wrong directory.
2006-05-15 10:59:10 +00:00
Jim Meyering
ad17714291
*** empty log message ***
2006-05-15 10:00:30 +00:00
Jim Meyering
7729ee5e68
Restore the parts of fts that were removed on 2006-01-17, so that
...
it's easier for legacy applications designed for the version
of fts in glibc or BSD to convert to this more robust version.
Add a new mode, FTS_CWDFD, by which to enable the improved
(openat- based -- aka no-chdir) semantics.
* fts_.h (FTS_CWDFD): Define. Callers must use this fts_open
option to enable the more robust behavior.
(FTS_OPTIONMASK): Widen accordingly.
* fts.c: Restore removed code, reverting the default behavior.
2006-05-15 10:00:16 +00:00
Jim Meyering
0e3dfb2439
*** empty log message ***
2006-05-11 19:44:47 +00:00
Jim Meyering
3b136eec7b
(sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley.
2006-05-11 19:44:42 +00:00
Jim Meyering
9980147451
.
2006-05-06 15:52:56 +00:00
Jim Meyering
72049d2e2e
*** empty log message ***
2006-05-04 10:33:39 +00:00
Jim Meyering
b400a630ae
Include "same-inode.h".
2006-05-03 10:13:07 +00:00
Paul Eggert
972d0198a9
(get_date): When adding relative date, start with the
...
initial time, not with the result of the first mktime call.
2006-04-25 10:29:47 +00:00
Paul Eggert
ae5252e393
Document filemode changes.
2006-04-17 23:24:49 +00:00
Paul Eggert
99277ba7c6
Don't undef S_ISDOOR, since it's never buggy.
...
(S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed.
(S_ISPORT, S_ISWHT): New macros, if not already defined.
2006-04-17 23:22:01 +00:00
Paul Eggert
dc536fbed1
(HAVE_DECL_STRMODE): Include <string.h> for strmode.
...
(strmode): Renamed from mode_string.
(filemodestring): New decl.
2006-04-17 23:21:30 +00:00