diff options
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r-- | coreutils/dd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 4362ae798..10066575e 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -429,8 +429,10 @@ int dd_main(int argc UNUSED_PARAM, char **argv) | |||
429 | #endif | 429 | #endif |
430 | 430 | ||
431 | if (infile) { | 431 | if (infile) { |
432 | #if !ENABLE_PLATFORM_MINGW32 | ||
432 | xmove_fd(xopen(infile, O_RDONLY), ifd); | 433 | xmove_fd(xopen(infile, O_RDONLY), ifd); |
433 | #if ENABLE_PLATFORM_MINGW32 | 434 | #else |
435 | xmove_fd(mingw_xopen(infile, O_RDONLY), ifd); | ||
434 | if (!strcmp(infile, "/dev/zero")) { | 436 | if (!strcmp(infile, "/dev/zero")) { |
435 | mingw_read_zero(ifd); | 437 | mingw_read_zero(ifd); |
436 | } | 438 | } |