Hi,
Il 18.36 19/05/2002 Henrik Nordstrom ha scritto:
>+#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
I'm not sure about.
This code was added from Robert at Cygwin merge time. I don't know if it's
really needed in Cygwin.
Looking on MSDN, MSVCRT seems to honore it, but in all SquidNT build I
leave it ...
So, I will try on Windows without it.
Regards
Guido
>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
-
=======================================================
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 - 11:12:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:28 MST