[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Release of version 4.6.1-pre2 of sharutils
From: |
Bruce Korb |
Subject: |
Re: Release of version 4.6.1-pre2 of sharutils |
Date: |
Tue, 15 Nov 2005 08:32:57 -0800 |
User-agent: |
KMail/1.7.1 |
Hi Eric,
Thank you. BTW, how is the cygwin guard spelled?
> * uuencode.c [__CYGWIN__]: Include io.h for setmode.
> (O_BINARY): Define for all platforms.
> (main): Always open with binary, where it matters.
> (main) [__CYGWIN__]: Use setmode to make stdin binary.
[[...]]
> +#if __CYGWIN__
> +# include <fcntl.h>
> +# include <io.h> /* for setmode */
> +#endif
[[...]]
> case 1:
> +#if __CYGWIN
> + if (! isatty (STDIN_FILENO))
> + setmode (STDIN_FILENO, O_BINARY);
> +#endif
The last one is a typo, yes? Cheers - Bruce