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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user