Sebastian Schuberth wrote: > my mounts are all text mode, i.e. the "Default Text File > Type" is "DOS". Nevertheless, shouldn't
Yeah, that does seem a bit broken. You can solve that with something like the following: --- dd.c.orig 2005-05-06 01:03:01.125000000 -0700 +++ dd.c 2005-05-06 01:00:07.265625000 -0700 @@ -136,8 +136,12 @@ static int conversions_mask = 0; /* Open flags for the input and output files. */ -static int input_flags = 0; -static int output_flags = 0; +#ifndef O_BINARY +#define O_BINARY 0 +#endif + +static int input_flags = O_BINARY; +static int output_flags = O_BINARY; /* Status flags for what is printed to stderr. */ static int status_flags = 0; ----- It would be up to the coreutils maintainer to decide what to do about this. It could be handled in a number of ways. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/