From: Jim Meyering Date: Mon, 16 Feb 1998 23:27:50 +0000 (+0000) Subject: (cp_option_init): Set copy_as_regular to 0, not 1. X-Git-Tag: FILEUTILS-3_16m~40 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f322649c58157844bf24b909976e89e8e53beccb;p=thirdparty%2Fcoreutils.git (cp_option_init): Set copy_as_regular to 0, not 1. Otherwise, mv tries to open special files. Reported by Kjetil Torgrim Homme. --- diff --git a/src/mv.c b/src/mv.c index a2f77ebeb4..9b869b74bd 100644 --- a/src/mv.c +++ b/src/mv.c @@ -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;