Jim Meyering
c74f99c571
*** empty log message ***
2003-12-20 18:08:11 +00:00
Jim Meyering
e164c2bbeb
[!_LIBC]: Undefine, then define-away __P.
2003-12-20 18:08:02 +00:00
Jim Meyering
5a1305abb4
.
2003-12-20 17:58:46 +00:00
Jim Meyering
f4bebc82bb
*** empty log message ***
2003-12-20 16:36:04 +00:00
Jim Meyering
38fe0df54d
[!_LIBC]: Define __P.
2003-12-20 16:35:59 +00:00
Jim Meyering
bcb7e37261
.
2003-12-19 12:53:40 +00:00
Jim Meyering
16972646cf
Don't include <search.h>.
...
[HAVE_INTTYPES_H]: Include <inttypes.h>.
(tdestroy, tfind, tsearch): Remove definitions.
(struct Active_dir): Rename from `known_object'.
(AD_compare, AD_hash): New functions.
(enter_dir, leave_dir): Rewrite to manipulate a hash table
rather than a tree.
(fts_open): Initialize hash table or cycle_state buffer.
(free_node): Remove function.
(find_matching_ancestor): Renamed/rewritten from look_up_active_dir.
(fts_cross_check): Adapt to use new data structure.
2003-12-19 12:50:33 +00:00
Jim Meyering
7f49957342
Include hash.h and cycle-check.h.
...
(FTS_TIGHT_CYCLE_CHECK): New value.
(FTS_OPTIONMASK): Adjust to include the new value.
(FTS_NAMEONLY, FTS_STOP): Increase to allow room for new value.
(struct FTS) [active_dir_ht]: New member. Replaces fts_dir_signatures.
(struct FTS) [cycle_state]: New member.
2003-12-19 12:40:05 +00:00
Jim Meyering
38e0d07456
(libfetish_a_SOURCES): Remove search_.h.
...
(DISTCLEANFILES): Remove definition.
2003-12-19 12:34:35 +00:00
Jim Meyering
56fef712cf
Rewrite cycle detection code to work properly.
...
Add some framework (compiled out by default) to test it.
(Dprintf, ENTER_DIR, LEAVE_DIR): Define.
(add_object): Remove function. Rewritten as...
(enter_dir): New function.
(leave_dir, free_node): New functions.
(fts_read): Ensure that we call ENTER_DIR or LEAVE_DIR,
as appropriate, before returning.
(look_up_active_dir, fts_cross_check) [FTS_DEBUG]: New functions.
(fts_stat): Don't perform the cycle check here.
Now it's done via enter_dir.
2003-12-18 21:11:11 +00:00
Jim Meyering
d46798e6aa
.
2003-12-18 10:38:45 +00:00
Jim Meyering
2e1934cb77
.
2003-12-18 10:38:22 +00:00
Jim Meyering
6b963304ff
add FIXME
2003-12-12 05:43:17 +00:00
Jim Meyering
dbbf897562
(FTS) [fts_dir_signatures]: Add comment.
2003-12-12 05:41:29 +00:00
Jim Meyering
b44464be69
.
2003-12-12 04:55:00 +00:00
Jim Meyering
a146b69be1
.
2003-12-03 10:31:37 +00:00
Jim Meyering
554a8298c9
*** empty log message ***
2003-12-03 10:28:45 +00:00
Jim Meyering
54594d2b21
(getgroups): xmalloc takes one argument, not two.
2003-12-03 10:28:39 +00:00
Jim Meyering
442c5295fc
.
2003-12-02 09:30:35 +00:00
Jim Meyering
c0efef3c7f
*** empty log message ***
2003-12-02 09:08:27 +00:00
Jim Meyering
4797f7f440
Use SHA1_H, not _SHA_H in #ifndef condition.
2003-12-02 09:08:16 +00:00
Jim Meyering
5dd50e5eb3
.
2003-12-02 09:06:54 +00:00
Jim Meyering
83e15c483a
renamed to sha1.h
2003-12-02 09:06:24 +00:00
Jim Meyering
51f4a36e98
renamed to sha1.c
2003-12-02 09:06:18 +00:00
Jim Meyering
aec463c0f3
File renamed from sha.h.
2003-12-02 09:05:50 +00:00
Jim Meyering
a87fa9b8c3
File renamed from sha.c.
...
Include sha1.h, not sha.h.
2003-12-02 09:05:40 +00:00
Jim Meyering
e806d25647
Reflect sha -> sha1 renaming.
2003-12-02 08:59:47 +00:00
Jim Meyering
1491869c38
.
2003-12-02 08:57:48 +00:00
Jim Meyering
6a58c5e0e0
Add FSF Copyright.
2003-12-02 08:57:39 +00:00
Jim Meyering
52a18b9571
*** empty log message ***
2003-12-02 08:55:36 +00:00
Jim Meyering
6a434077b8
Correct stale references to MD5 and `16 bytes'.
...
Patch by Ulrich Drepper.
Add FSF Copyright. Remove reference to Scott Miller,
since this file is now nearly identical to md5.h.
2003-12-02 08:55:30 +00:00
Jim Meyering
5582bf3995
*** empty log message ***
2003-12-02 08:24:38 +00:00
Jim Meyering
72bcce966c
(rol) [__GNUC__ && __i386__]: Don't use `asm' code. These
...
days, gcc-3.x does better all by itself. Patch from Dean Gaudet:
http://mail.gnu.org/archive/html/bug-coreutils/2003-11/msg00144.html
2003-12-02 08:24:31 +00:00
Jim Meyering
29715e4653
*** empty log message ***
2003-11-29 12:02:53 +00:00
Jim Meyering
71109d9261
Include "xalloc.h", for decl of xstrdup.
2003-11-29 12:01:51 +00:00
Jim Meyering
48b933cbd2
*** empty log message ***
2003-11-29 11:58:59 +00:00
Jim Meyering
b91ac83e67
(c_strtod): Save and restore original LC_NUMERIC setting,
...
in case it was different from the environment-derived value.
Patch by Paul Eggert.
2003-11-29 11:55:52 +00:00
Jim Meyering
e61017bc19
.
2003-11-27 09:42:50 +00:00
Jim Meyering
2a2f3217c6
.
2003-11-27 08:00:12 +00:00
Jim Meyering
6c6a0b1943
.
2003-11-27 07:48:35 +00:00
Jim Meyering
c0f0a326af
(xstrtod): Accept an extra arg, specifying the conversion function.
...
Don't include stdlib.h; no longer needed.
2003-11-27 07:48:21 +00:00
Jim Meyering
05c5b74a05
(xstrtod): Accept an extra arg, specifying the conversion function.
2003-11-27 07:47:22 +00:00
Jim Meyering
ab5dba9e1b
new files, from Paul Eggert
2003-11-27 07:46:01 +00:00
Jim Meyering
5564a80c71
(libfetish_a_SOURCES): Add c-strtod.c, c-strtod.h.
2003-11-27 07:43:11 +00:00
Jim Meyering
955a2340ea
Don't include xstrtod.h; it's not needed.
2003-11-27 07:42:03 +00:00
Jim Meyering
f40b756c79
upgrade to automake-1.7d
2003-11-24 08:01:57 +00:00
Jim Meyering
19d21ca60c
*** empty log message ***
2003-11-22 15:10:22 +00:00
Jim Meyering
24b62f6752
(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.
2003-11-22 15:08:19 +00:00
Jim Meyering
27e2534744
*** empty log message ***
2003-11-21 08:21:28 +00:00
Jim Meyering
d23aea4a1e
(xreadlink): Correct outdated comment.
2003-11-21 08:21:23 +00:00