1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-06 08:43:02 +02:00

(cp_option_init): Set copy_as_regular to 0, not 1.

Otherwise, mv tries to open special files.
Reported by Kjetil Torgrim Homme.
This commit is contained in:
Jim Meyering
1998-02-16 23:27:50 +00:00
parent f49fee3e5f
commit f322649c58
+1 -1
View File
@@ -126,7 +126,7 @@ rm_option_init (struct rm_options *x)
static void
cp_option_init (struct cp_options *x)
{
x->copy_as_regular = 1; /* FIXME: maybe make this an option */
x->copy_as_regular = 0; /* FIXME: maybe make this an option */
x->dereference = 0;
x->force = 0;
x->hard_link = 0;