diff options
author | Jim Meyering <jim@meyering.net> | 1998-02-16 23:27:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-02-16 23:27:50 +0000 |
commit | f322649c58157844bf24b909976e89e8e53beccb (patch) | |
tree | 61822b293ee1c7a6b6a8fd7b6175e4b26a218345 | |
parent | f49fee3e5fdbff2aa36e1ed05bf51fe7158cb6c2 (diff) | |
download | coreutils-f322649c58157844bf24b909976e89e8e53beccb.tar.xz |
(cp_option_init): Set copy_as_regular to 0, not 1.
Otherwise, mv tries to open special files.
Reported by Kjetil Torgrim Homme.
-rw-r--r-- | src/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |