diff options
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/dos2unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index e1fbe8538..07398bdfa 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
| @@ -58,7 +58,7 @@ static void convert(char *fn, int conv_type) | |||
| 58 | 58 | ||
| 59 | temp_fn = xasprintf("%sXXXXXX", resolved_fn); | 59 | temp_fn = xasprintf("%sXXXXXX", resolved_fn); |
| 60 | i = xmkstemp(temp_fn); | 60 | i = xmkstemp(temp_fn); |
| 61 | if (!ENABLE_PLATFORM_MINGW32 && fchmod(i, st.st_mode) == -1) | 61 | if (fchmod(i, st.st_mode) == -1) |
| 62 | bb_simple_perror_msg_and_die(temp_fn); | 62 | bb_simple_perror_msg_and_die(temp_fn); |
| 63 | 63 | ||
| 64 | out = xfdopen_for_write(i); | 64 | out = xfdopen_for_write(i); |
