From d1b5cab0da9adb14e1b76fa39ceec75470d24e49 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Jun 2005 07:55:52 +0000 Subject: (dd) reuse c:: --- perl-install/commands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/commands.pm') 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}); -- cgit v1.2.1