Re: COSS - some other fixes

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 19 May 2002 18:36:17 +0200

+#if defined(_SQUID_CYGWIN_)
+ setmode(fileno(fp), O_BINARY);
+#endif

Wouldn't it be better to add a "b" to any binary fopen() calls?

stdio mode option b is after all ANSI/ISO C and POSIX standard and
therefore UNIX standard.. should be silently ignored on any true
POSIX system, and honored on any system requiring it..

Regards
Henrik

On Sunday 19 May 2002 17:25, Guido Serassio wrote:
> Hi Henrik,
>
> Comparing store_dir_ufs.c and store_dir_coss.c, I have found same
> missed patches and fixes in COSS source.
>
> This is the patch.
>
> Reagards
>
> Guido
>
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 -
> Torino - ITALY E-mail: guido.serassio@serassio.it
> WWW: http://www.serassio.it
Received on Sun May 19 2002 - 10:43:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:28 MST