Jim Meyering
aa3694f1ff
(forget_created): New function.
2002-03-30 07:11:13 +00:00
Jim Meyering
4d13e6fa55
Use opaque type, Hash_table, not `struct hash_table'.
2001-11-23 08:10:49 +00:00
Jim Meyering
df1b3c4948
(forget_all): Use hash_free, not hash_clear.
2001-10-24 07:36:53 +00:00
Jim Meyering
30b904e1f3
split a long line into two
2001-10-18 20:29:57 +00:00
Jim Meyering
b564762ef5
Plug a leak.
...
(remember_copied): Use src_to_dest_free to free the entry we couldn't insert.
2001-10-18 07:44:41 +00:00
Jim Meyering
61b95dac69
(remember_copied): Make a local copy of the file name.
...
(src_to_dest_free): New function (to free the above).
(hash_init): Register src_to_dest_free.
2001-10-07 08:41:03 +00:00
Jim Meyering
bf0b70f10d
(hash_init): Die if hash_initialize fails.
2001-10-06 21:25:08 +00:00
Jim Meyering
f275d7ae99
Rewrite to use the functions in lib/hash.c.
2001-10-06 17:24:10 +00:00
Jim Meyering
b6e29912be
[struct entry] (node): Describe how it's used,
...
now that we've overloaded it a little, in order to detect and diagnose
the copying-directory-into-self problem.
(new_file): Remove global.
(htab): Declare global to be static.
(remember_created): Insert file name instead of dummy pointer, so
that copy.c can use the just-created directory name to detect
the copying-directory-into-self problem.
2001-01-10 11:54:53 +00:00
Jim Meyering
614cf2b06b
Convert "`%s'" in format strings to "%s", and wrap each
...
corresponding argument in a `quote (...)' call.
2000-07-30 17:08:05 +00:00
Jim Meyering
23c792f18c
update copyright date
2000-07-09 07:14:42 +00:00
Jim Meyering
07c6f5e387
update copyright dates
1999-02-16 04:14:17 +00:00
Jim Meyering
7b9c4d3d03
(cph_hash_insert): Rename from now-conflicting hash_insert.
...
Also declare to be static.
1998-04-06 08:15:29 +00:00
Jim Meyering
2d69426882
copyright
1998-01-04 22:46:23 +00:00
Jim Meyering
a5fe3a240b
(<inttypes.h>): Include if HAVE_INTTYPES_H.
...
(hash_insert2): Cast inode number to uintmax_t; this prevents
negative remainders if the inode number is negative and ino_t
is longer than unsigned.
1997-11-30 10:24:54 +00:00
Jim Meyering
df445b0891
Remove old-style xmalloc and xrealloc decls.
1997-10-25 22:03:55 +00:00
Jim Meyering
a15366696c
* src/cp-hash.c (struct entry): Move dcl to this file from cp.h.
...
(struct htab): Likewise.
No longer include cp.h. Instead, include the things it used to include.
1997-02-02 22:21:03 +00:00
Jim Meyering
dc98736719
update Copyright years for 1996
1996-04-24 04:42:21 +00:00
Jim Meyering
5de0b392f2
Update FSF's address.
1996-03-24 18:47:09 +00:00
Jim Meyering
0683df4bf8
Protoize and add const attribute to parameters.
1995-11-10 14:42:08 +00:00
Jim Meyering
99ce9e9832
Use stat (lstat), not safe_stat (safe_lstat).
1995-05-13 12:48:33 +00:00
Jim Meyering
1423198343
add 1995 to Copyright dates
1995-03-10 04:15:06 +00:00
Jim Meyering
69f39255bc
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
1995-01-27 17:03:21 +00:00
Jim Meyering
f17c045d21
.
1994-10-02 02:09:38 +00:00
Jim Meyering
15ddd652be
.
1994-07-30 16:12:44 +00:00
Jim Meyering
14fd34b788
Initial revision
1992-10-31 20:42:48 +00:00