projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12bf65f
)
Unlike for mv, -i doesn't cancel the effect of -f
author
Jim Meyering
<jim@meyering.net>
Fri, 12 May 2000 20:39:34 +0000
(20:39 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 12 May 2000 20:39:34 +0000
(20:39 +0000)
and -f doesn't cancel the effect of -i.
(main) ['f']: Don't reset `x.interactive'.
['i']: Don't reset `x.force'.
src/cp.c
patch
|
blob
|
history
diff --git
a/src/cp.c
b/src/cp.c
index 5ab4e0ffc3718aa79bdb8c2ee38953823635e1cf..b39db1da60f7db006acc93490604857a1276a719 100644
(file)
--- a/
src/cp.c
+++ b/
src/cp.c
@@
-731,11
+731,9
@@
main (int argc, char **argv)
case 'f':
x.force = 1;
- x.interactive = 0;
break;
case 'i':
- x.force = 0;
x.interactive = 1;
break;