From e4f28beec255ea2e233e0f016d4795d13a24bfae Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 26 Mar 2013 13:53:03 +0000 Subject: Provide fake fchmod implementation --- coreutils/dos2unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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) temp_fn = xasprintf("%sXXXXXX", resolved_fn); i = xmkstemp(temp_fn); - if (!ENABLE_PLATFORM_MINGW32 && fchmod(i, st.st_mode) == -1) + if (fchmod(i, st.st_mode) == -1) bb_simple_perror_msg_and_die(temp_fn); out = xfdopen_for_write(i); -- cgit v1.2.3-55-g6feb