[mapserver-dev] msautotest-wxs: how to suppress the header information?

Normand Savard nsavard at mapgears.com
Thu Mar 19 17:18:02 EDT 2009


Tamas Szekeres wrote:
> Normand,
>
> Thanks for the options I'm using almost the same here.
> As looking into the buildkit sources it looks like fcgi have been patched by
> someone to provide binary stdout, as follows:
>
> 112a113,116
>   
>> #ifdef _WIN32
>> #include <fcntl.h>
>> #include <io.h>
>> #endif
>>     
> 136a141,144
>   
>> #ifdef _WIN32
>>                 _setmode( _fileno(stdout), _O_BINARY);
>>                 _setmode( _fileno(stdin), _O_BINARY);
>> #endif
>>     
>
> I've been using the lib in the original form which use the default stdout
> mechanism., causing this problem because of it. Isn't this something to be
> contributed back to the fcgi library?
>
>   
Tamas,

It makes sense to me.

Norm


More information about the mapserver-dev mailing list