summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-03 07:55:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-03 07:55:52 +0000
commitd1b5cab0da9adb14e1b76fa39ceec75470d24e49 (patch)
tree88ce54409a937b0cf041bc36411bded498324b85 /perl-install/commands.pm
parentf7ba8755dbdc0afc3ca673800131f3d46a326550 (diff)
downloaddrakx-d1b5cab0da9adb14e1b76fa39ceec75470d24e49.tar
drakx-d1b5cab0da9adb14e1b76fa39ceec75470d24e49.tar.gz
drakx-d1b5cab0da9adb14e1b76fa39ceec75470d24e49.tar.bz2
drakx-d1b5cab0da9adb14e1b76fa39ceec75470d24e49.tar.xz
drakx-d1b5cab0da9adb14e1b76fa39ceec75470d24e49.zip
(dd) reuse c::
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r--perl-install/commands.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index 0325b4955..fd709d5c7 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -231,7 +231,7 @@ sub dd {
}
local (*IF, *OF); my ($tmp, $nb, $read);
ref($h{if}) eq 'GLOB' ? (*IF = $h{if}) : sysopen(IF, $h{if}, 0) || die "error: can not open file $h{if}\n";
- ref($h{of}) eq 'GLOB' ? (*OF = $h{of}) : sysopen(OF, $h{of}, O_CREAT|O_WRONLY) || die "error: can not open file $h{of}\n";
+ ref($h{of}) eq 'GLOB' ? (*OF = $h{of}) : sysopen(OF, $h{of}, c::O_CREAT()|c::O_WRONLY()) || die "error: can not open file $h{of}\n";
$h{bs} = removeXiBSuffix($h{bs});