Jim Meyering
e02df462ba
*** empty log message ***
1999-02-15 15:42:39 +00:00
Jim Meyering
b874c17169
*** empty log message ***
1999-02-15 15:25:29 +00:00
Jim Meyering
69272c2e85
(dc_parse_stream): Don't try to dereference NULL
...
if there's an error is in our built-in list.
1999-02-14 03:28:41 +00:00
Jim Meyering
0fbe67a146
(main): Set x.backup_type only if backups are requested.
...
(cp_option_init): Initialize backup_type.
(backup_type): Remove unused variable.
1999-02-14 02:36:16 +00:00
Jim Meyering
147d933a4f
(slack_codes): Add "DOOR".
...
(ls_codes): Add corresponding "do".
1999-02-09 05:04:18 +00:00
Jim Meyering
60979fecbb
copyright date
1999-02-08 03:31:26 +00:00
Jim Meyering
e9144d8d30
copyright date
1999-02-08 03:30:52 +00:00
Jim Meyering
0c87b3168c
Include stdio.h.
1999-02-08 03:30:33 +00:00
Jim Meyering
3946ca7fc1
Include stdio.h.
1999-02-08 03:30:06 +00:00
Jim Meyering
2dc3a543b1
Include stdio.h.
1999-02-08 03:29:36 +00:00
Jim Meyering
f7bb13ecd8
Include stdio.h.
1999-02-08 03:29:02 +00:00
Jim Meyering
4ae35f8a89
cpp indent
1999-02-03 15:23:21 +00:00
Jim Meyering
cd9a08e476
(S_ISDOOR): Define if missing.
1999-02-03 13:56:43 +00:00
Jim Meyering
0d148ec872
Handle DOOR.
1999-02-03 05:41:42 +00:00
Jim Meyering
751a3dc73b
(S_ISLNK, S_ISFIFO, S_ISSOCK, S_ISCHR, S_ISBLK, S_ISDOOR):
...
Define to zero if not already defined.
(HAVE_SYMLINKS): Define.
(gobble_file): Remove #ifdef.
(get_link_name, make_link_path): Guard these with #if HAVE_SYMLINKS
rather than #ifdef S_ISLNK.
(print_type_indicator): Remove #ifdefs and reorganize.
(print_color_indicator): Remove #ifdefs.
(length_of_file_name_and_frills): Likewise.
1999-02-03 05:41:18 +00:00
Jim Meyering
43aa4122fc
(print_type_indicator): Print doors as '>'.
...
(length_of_file_name_and_frills): Account for this.
1999-02-03 05:16:22 +00:00
Jim Meyering
015e2e77ed
New version from L. Peter Deutsch.
1999-02-03 02:01:06 +00:00
Jim Meyering
4872440d7a
(do_link): Allow creation of a hard link to a dangling
...
symlink. Reported by Alexey Solovyov:
1999-01-31 18:41:36 +00:00
Jim Meyering
2f07328f17
(main): Call chdir ("/") after chroot.
...
Suggestion from James Youngman.
1999-01-31 17:50:53 +00:00
Jim Meyering
62b3fd4e81
(print_uptime): Use the C numeric locale for sscanf
...
of /proc/uptime data, then restore.
1999-01-31 16:53:28 +00:00
Jim Meyering
eaec7699ac
(copy_internal): Describe any backup-related renaming
...
operations when in verbose mode.
(copy_internal): Likewise.
Based on changes from Marty Leisner.
1999-01-31 15:12:43 +00:00
Jim Meyering
a2f2ba51bc
Use TIME_WITH_SYS_TIME-based #if test rather than
...
TM_IN_SYS_TIME based one (for shred).
1999-01-29 04:58:32 +00:00
Jim Meyering
f525fd81ca
(isaac_seed): Guard clock_gettime with test of
...
HAVE_CLOCK_GETTIME, not CLOCK_REALTIME.
(wipename): Rename local dirfd to dir_fd to avoid shadowing the
function declared in Linux's dirent.h.
1999-01-25 15:13:10 +00:00
Jim Meyering
276d118b10
(usage): Remove static attribute.
1999-01-25 14:33:38 +00:00
Jim Meyering
fe9d964a78
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:31:12 +00:00
Jim Meyering
54f4eb2224
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:30:08 +00:00
Jim Meyering
86fb9cb9ec
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:29:22 +00:00
Jim Meyering
7082d762aa
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:28:31 +00:00
Jim Meyering
22099863b4
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:27:48 +00:00
Jim Meyering
a4c1c9627e
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:26:38 +00:00
Jim Meyering
53ab150d29
(usage): Remove static attribute.
...
Move function be the first in the file.
1999-01-25 14:24:35 +00:00
Jim Meyering
becdfba8b9
New version from L. Peter Deutsch.
1999-01-25 05:50:56 +00:00
Jim Meyering
2ecbb0307d
Exit nonzero upon failed write to stdout.
1999-01-25 00:34:26 +00:00
Jim Meyering
11a5174aa6
(DONT_UNLINK_WHILE_OPEN) [__MSDOS__ || _WIN32]: Define.
1999-01-25 00:18:47 +00:00
Jim Meyering
26756c6f82
(fdatasync): Remove function. instead, ...
...
[! HAVE_FDATASYNC]: Define to fsync.
From Colin Plumb.
1999-01-24 15:10:22 +00:00
Jim Meyering
70db3065cb
(fdatasync) [! HAVE_FDATASYNC]: New function.
1999-01-23 23:07:53 +00:00
Jim Meyering
1b0f03e1da
(wipename): Print the `FILE: deleting' message only when in verbose mode.
1999-01-23 18:55:34 +00:00
Jim Meyering
e21cf52e03
(wipename): Print the `FILE: deleted' message only when in verbose mode.
1999-01-23 18:33:11 +00:00
Jim Meyering
4ab3a8a345
always close stdout
1999-01-23 18:15:41 +00:00
Jim Meyering
35c2b35dbd
fix typos in comments
1999-01-23 17:36:33 +00:00
Jim Meyering
9550ca6b71
(pfstatus): Use __format__ and __printf__.
...
Remove `if __GNUC__ >= 2' guard.
1999-01-23 16:48:36 +00:00
Jim Meyering
b02f28bab4
Bracket pfstatus messages with _().
1999-01-23 16:26:16 +00:00
Jim Meyering
68e327564d
add parens around STREQ
1999-01-23 15:34:18 +00:00
Jim Meyering
e363353a48
restore mistakenly removed stdio.h
...
use error in place of pferror
(pferror): Remove.
(wipefd): Use error in place of fprintf(stderr,... call
s/alllocate/allocate
1999-01-23 15:32:48 +00:00
Jim Meyering
954d1b451f
use `%s' rather than \"%s\" everywhere
1999-01-23 15:22:16 +00:00
Jim Meyering
8b036d56ef
s/sterilize/shred/g
...
Don't include headers already included (and guarded by HAVE_FOO_H tests)
in system.h.
1999-01-23 15:17:54 +00:00
Jim Meyering
758bbda788
use getopt_long
...
(struct Options): Declare.
(usage): New function.
(program_name): Rename from argv0
(FLAG_* macros): Remove.
1999-01-23 05:32:58 +00:00
Jim Meyering
ae7d45cdc9
Include config.h, getopt.h, system.h and error.h.
...
Use #else/#if, not #elif.
1999-01-22 02:19:24 +00:00
Jim Meyering
21cf7cf8c2
indent -- sorry Colin.
1999-01-18 05:49:43 +00:00
Jim Meyering
e11c197cc2
(do_link): Try to remove DEST even after renaming it.
...
This fixes a bug reported by Jamie Lokier.
1999-01-18 02:41:13 +00:00