Jim Meyering
2499628bff
(make_path): Reorder stat-then-mkdir-if-missing
...
calls so that mkdir is called first. Before make_path would first
`stat' a directory, then call mkdir if it didn't exist. But if
some other process created the directory between the stat & mkdir,
the mkdir would fail with EEXIST. Diagnosis and suggestion from
Greg McGary.
1997-07-01 11:50:39 +00:00
Jim Meyering
059ccb6ac7
[putenv]: Undefine before including system headers.
...
Otherwise, the declaration of *rpl_putenv* conflicts with the system
prototype on at least Irix5.3. From Marcus Daniels.
1997-07-01 11:30:08 +00:00
Jim Meyering
41faa55aed
(base_name_strip_trailing_slashes): Remove.
1997-06-29 22:26:18 +00:00
Jim Meyering
04c0cd59a5
(base_name_strip_trailing_slashes): new function.
1997-06-29 22:25:54 +00:00
Jim Meyering
1226259896
Remove _sys_putenv cruft and just rename the function itself.
1997-06-29 21:05:05 +00:00
Jim Meyering
3d9239c750
fix it right
1997-06-29 20:18:58 +00:00
Jim Meyering
551c02f7b6
Define-away putenv only if it's not already defined.
1997-06-29 20:12:52 +00:00
Jim Meyering
9654920c40
.
1997-06-29 03:27:24 +00:00
Jim Meyering
fa4894b30c
.
1997-06-25 15:38:35 +00:00
Jim Meyering
9bf8c1c229
.
1997-06-16 18:02:08 +00:00
Jim Meyering
7b097c0e37
add copyright
1997-06-16 16:15:30 +00:00
Jim Meyering
0dcca900cc
(full_write): Add comment regarding failure due to bug in
...
Linux Slackware 1.2.13 kernel.
1997-06-15 15:06:52 +00:00
Jim Meyering
acdc74dbf5
Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.
...
Before, it processed O(n^2) directory name components via stat and mkdir.
Now it's O(n). This makes mkdir -p a lot more efficient when creating
directories with very many components. On a Linux 2.0.30 ext2fs filesystem
this command: mkdir -p `perl -e 'print "a/" x 500'` now runs in 0.77 seconds
(user+sys). Contrast that with the 9.5(!) seconds it took before.
1997-06-15 13:34:47 +00:00
Jim Meyering
4dc1f7070b
.
1997-06-14 16:36:22 +00:00
Jim Meyering
25f6a4a7c0
remove blank line at end and add copyright
...
tweak cpp indentation
1997-06-12 12:58:47 +00:00
Jim Meyering
2078f2391e
.
1997-06-06 14:30:11 +00:00
Jim Meyering
f1390de4c3
[HAVE_UNISTD_H]: Include unistd.h.
...
John Gatewood Ham reported that this is necessary for DJGPP/Win95.
1997-06-03 20:01:47 +00:00
Jim Meyering
2c0e561933
(OtherTable): Interpret `next' as 1 (not 2) units.
...
Patch from Richard Sharman <rsharman@magmacom.com >.
1997-06-01 17:15:51 +00:00
Jim Meyering
a488983890
fix for abs pathnames
1997-05-30 14:00:47 +00:00
Jim Meyering
6edc738156
correct/normalize indentation in cpp directives
1997-05-28 12:19:28 +00:00
Jim Meyering
4f690a51e3
update from FSF
1997-05-28 12:01:33 +00:00
Jim Meyering
4354caa2d4
(read_filesystem_list): Add `|| defined (__OpenBSD__)'
...
to the NetBSD #if so OpenBSD also uses the f_fstypename member.
(fstype_to_string): Add `&& !defined (__OpenBSD__)' to the NetBSD #if
expression to exclude this function definition. OpenBSD 2.1 beta
doesn't need it. Patch from Hugh Daniel <hugh@ecotone.xanadu.com >
1997-05-28 11:42:29 +00:00
Jim Meyering
437b98461e
Don't include backupfile.h.
1997-05-27 14:16:49 +00:00
Jim Meyering
93e9fef09f
(libfu_a_SOURCES): Add addext.c.
...
Remove getversion.c; get_version is now in backupfile.c.
Add basename.c since it's no longer replacible.
1997-05-27 10:45:34 +00:00
Jim Meyering
aa8b6cf83c
Change dcl of program_name so it doesn't conflict with the ubiquitous char* one.
1997-05-27 10:39:10 +00:00
Jim Meyering
46a9863033
.
1997-05-27 10:31:04 +00:00
Jim Meyering
c213bae308
Update from patch-2.2.93.
1997-05-27 10:30:45 +00:00
Jim Meyering
ca55ba3715
Update from FSF via patch-2.2.93.
1997-05-27 09:41:25 +00:00
Jim Meyering
168eb7758e
Update from FSF via patch-2.2.93.
1997-05-27 09:39:25 +00:00
Jim Meyering
96c4c01019
Update from glibc via patch-2.2.93.
1997-05-27 09:38:06 +00:00
Jim Meyering
90721ff4a4
(read_filesystem_list): Show automount-related
...
duplicate filesystems only when --all specified. With suggestions
from Stuart Kemp.
1997-05-24 14:43:21 +00:00
Jim Meyering
1024238089
Indent cpp directives.
1997-05-24 14:42:40 +00:00
Jim Meyering
b0f8e63615
.
1997-05-24 14:31:23 +00:00
Jim Meyering
d0a506b84b
.
1997-05-02 04:02:17 +00:00
Jim Meyering
44848c0887
update from automake-1.1o
1997-04-29 15:48:14 +00:00
Jim Meyering
7f74dcb1a6
s/;/. in comment to placate francois
1997-04-10 03:46:01 +00:00
Jim Meyering
c7b5fd2423
.
1997-03-23 02:56:47 +00:00
Jim Meyering
effc683cfc
(TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
1997-03-14 03:28:09 +00:00
Jim Meyering
5ed7bf6069
.
1997-03-13 05:17:16 +00:00
Jim Meyering
a7cbdd04cd
.
1997-03-13 05:16:47 +00:00
Jim Meyering
4e81181981
(EXTRA_DIST): Add chown.c.
1997-03-13 05:13:18 +00:00
Jim Meyering
a9616d4982
.
1997-03-12 01:26:15 +00:00
Jim Meyering
f1fbec95d5
.
1997-03-11 05:11:09 +00:00
Jim Meyering
8c93627ccb
(tYEAR_UNIT): Increase yyRelYear by $1, not just by 1.
...
From Andreas Schwab.
1997-02-27 05:53:15 +00:00
Jim Meyering
db78b4797a
(tMONTH_UNIT): Increase yyRelMonth by $1, not just by 1.
...
(tDAY_UNIT): Likewise for yyRelDay.
(tHOUR_UNIT): Likewise for yyRelHour.
(tMINUTE_UNIT): Likewise for yyRelMinutes.
(tSEC_UNIT): Likewise for yyRelSeconds.
1997-02-22 20:13:19 +00:00
Jim Meyering
4b0e6d0a33
update from FSF
1997-02-21 02:19:48 +00:00
Jim Meyering
e16668553e
update from FSF
1997-02-21 02:16:54 +00:00
Jim Meyering
35ec0a08b5
.
1997-02-18 15:13:51 +00:00
Jim Meyering
1b1bca8a63
.
1997-02-18 15:13:12 +00:00
Jim Meyering
11e498679b
.
1997-02-18 15:12:41 +00:00