Jim Meyering
a579a9f85b
(full_write): Remove unused decl.
...
(open_maybe_create): Remove.
(touch): Don't record whether the file was created; this isn't
possible to do reliably and portably without race conditions.
If the file was created and if amtime_now is nonzero, this
change means we'll have to do another utime system call, but
that's no more harmful than the previous version of this code.
1999-10-23 11:46:03 +00:00
Jim Meyering
767a68f512
*** empty log message ***
1999-10-17 21:33:49 +00:00
Jim Meyering
f8c3b33277
Remove use of mv's now-deprecated
...
-V option. Use --b=simple instead of -b -V simple.
1999-10-17 21:33:38 +00:00
Jim Meyering
77def80003
Convert --backup to take an optional argument.
...
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.
1999-10-17 21:31:45 +00:00
Jim Meyering
96018007df
*** empty log message ***
1999-10-17 21:31:04 +00:00
Jim Meyering
23d74f24e4
use x, y, not a, b.
1999-10-17 21:29:15 +00:00
Jim Meyering
23d5af772e
adapt to work for mv, too
1999-10-17 21:24:26 +00:00
Jim Meyering
8bbc2e2937
change a message and add usage(1) to another.
1999-10-17 16:26:30 +00:00
Jim Meyering
5d694e4cc3
*** empty log message ***
1999-10-17 10:04:10 +00:00
Jim Meyering
f893b3807d
Accept new option: --target-directory=DIR
...
(TARGET_DIRECTORY_OPTION): Define.
(SPARSE_OPTION): Define.
(usage): Describe it.
(do_copy): Change meanings/names of first two parameters: use `n_files'
in place of `argc - optind', and `file' instead of `argv + optind'.
Add parameter, target_directory.
(main): Pass new arg, target_directory.
1999-10-17 10:01:30 +00:00
Jim Meyering
a374a307c5
don't compute isdir() of -- or an option string
1999-10-17 07:39:20 +00:00
Jim Meyering
b221905959
remove last `,' in enum
1999-10-17 07:25:34 +00:00
Jim Meyering
ff2333c835
(TESTS): Add cp-mv-backup.
1999-10-16 14:52:40 +00:00
Jim Meyering
bd4945f89c
*** empty log message ***
1999-10-16 14:51:45 +00:00
Jim Meyering
bda7fb978e
Remove use of cp's now-deprecated --version-control option.
1999-10-16 14:50:26 +00:00
Jim Meyering
535a5f905f
*** empty log message ***
1999-10-16 14:48:25 +00:00
Jim Meyering
34306581ac
Convert --backup to take an optional argument.
...
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.
1999-10-16 14:48:16 +00:00
Jim Meyering
d25861b4da
Remove use of cp's now-deprecated -V option.
...
Use --b=simple instead of -b -V simple.
1999-10-16 14:44:17 +00:00
Jim Meyering
c9e90c55fa
*** empty log message ***
1999-10-16 13:49:28 +00:00
Jim Meyering
07feb846a6
*** empty log message ***
1999-10-16 13:39:50 +00:00
Jim Meyering
0470b5dce9
*** empty log message ***
1999-10-16 13:13:39 +00:00
Jim Meyering
449c9c39cc
*** empty log message ***
1999-10-11 14:04:32 +00:00
Jim Meyering
17c213ed3f
update from GNU lib C
1999-10-11 12:39:14 +00:00
Jim Meyering
42da57def9
*** empty log message ***
1999-10-11 12:39:09 +00:00
Jim Meyering
eef13be7f9
*** empty log message ***
1999-10-11 12:38:55 +00:00
Jim Meyering
3bea9c2f51
*** empty log message ***
1999-10-09 13:22:57 +00:00
Jim Meyering
2de1a014ef
Accept new option: --target-directory=DIR
...
(TARGET_DIRECTORY_OPTION): Define.
(usage): Describe it.
(main): Implement it.
Make code clearer: use new variable `n_files' in place of
`argc - optind'. Use `file' instead of `argv + optind'.
1999-10-09 13:22:08 +00:00
Jim Meyering
764768f318
*** empty log message ***
1999-10-07 12:46:15 +00:00
Jim Meyering
290848dd2b
Don't require autoconf-2.14.1.
1999-10-04 07:51:44 +00:00
Jim Meyering
1ac0c21d89
*** empty log message ***
1999-10-04 07:51:26 +00:00
Jim Meyering
17754acc90
(__attribute__): Wrap with #ifndef __attribute__.
1999-10-04 06:04:19 +00:00
Jim Meyering
0226382b34
(__attribute__): Define to empty if GCC claims to
...
be before 2.8; this is needed for OPENStep 4.2 cc. Also,
define to empty if strict ANSI.
1999-10-04 06:02:41 +00:00
Jim Meyering
1ca4f162fa
(__attribute__): Define to empty if GCC claims to
...
be before 2.8; this is needed for OPENStep 4.2 cc. Also,
define to empty if strict ANSI.
1999-10-04 05:59:37 +00:00
Jim Meyering
84928ec02d
(TARGET_DIRECTORY_OPTION): Define.
...
(usage): Describe it.
(main): Implement it.
Remove unused variable, stdin_tty.
Make code clearer: use new variable `n_files' in place of
`argc - optind'. Use `file' instead of `argv + optind'.
1999-10-03 16:59:07 +00:00
Jim Meyering
46f2e4efeb
another example for tr -- illustrating problems with `-' in ranges..
1999-10-02 11:46:53 +00:00
Jim Meyering
6c4caf0dbf
*** empty log message ***
1999-10-02 11:42:26 +00:00
Jim Meyering
1003235282
.
1999-10-02 11:12:34 +00:00
Jim Meyering
fb4889bcd9
.
1999-10-02 11:12:06 +00:00
Jim Meyering
155695ed60
*** empty log message ***
1999-09-29 14:44:36 +00:00
Jim Meyering
d5c47e9163
(AC_SYS_LARGEFILE_FLAGS): Work around GCC 2.95.1 bug with HP-UX 10.20.
1999-09-29 14:44:31 +00:00
Jim Meyering
ea0df9b67d
Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.
...
Do the same for other config.h macros like CLOSEDIR_VOID and MAJOR_*.
1999-09-28 16:22:54 +00:00
Jim Meyering
98ba27811d
Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.
1999-09-28 16:22:38 +00:00
Jim Meyering
a66e71a1d2
*** empty log message ***
1999-09-28 15:27:13 +00:00
Jim Meyering
4a03ccc044
(__attribute__): Protect against redefinition.
1999-09-28 15:26:45 +00:00
Jim Meyering
57d52e5170
*** empty log message ***
1999-09-28 14:48:53 +00:00
Jim Meyering
a7047bf647
(error_at_line): Use strerror portably here, too,
...
just as was done in error.
1999-09-28 14:48:43 +00:00
Jim Meyering
6f3516dc97
.
1999-09-26 22:36:11 +00:00
Jim Meyering
057f710a76
(xalloc_die): Rename from xalloc_fail and update callers.
...
Use explicit exit to help avoid warnings.
1999-09-26 19:05:39 +00:00
Jim Meyering
168676d418
small correction from Akim
1999-09-26 19:01:12 +00:00
Jim Meyering
825a182517
*** empty log message ***
1999-09-26 18:53:01 +00:00