httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garey Smiley" <ga...@main.slink.com>
Subject Re: More OS/2 patches.
Date Mon, 17 Jun 1996 03:36:42 GMT
On Sun, 16 Jun 1996 16:49:38 -0700 (PDT), Brian Behlendorf wrote:

>I would, but not all of them are enclosed ifdef __EMX__.  Should the
>following be?  You ifdef'd similar changes earlier up.
>
>	Brian
>
>> ***************
>> *** 1040,1053 ****
>>     
>>     if (pipe_out) {
>>       close (out_fds[1]);
>> !     *pipe_out = fdopen (out_fds[0], "r");
>>       
>>       if (*pipe_out) note_cleanups_for_file (p, *pipe_out);
>>     }
>>   
>>     if (pipe_in) {
>>       close (in_fds[0]);
>> !     *pipe_in = fdopen (in_fds[1], "w");
>>       
>>       if (*pipe_in) note_cleanups_for_file (p, *pipe_in);
>>     }
>> --- 1050,1065 ----
>>   
>>     if (pipe_out) {
>>       close (out_fds[1]);
>> !     /* Need binary mode set for OS/2. */
>> !     *pipe_out = fdopen (out_fds[0], "rb");
>>   
>>       if (*pipe_out) note_cleanups_for_file (p, *pipe_out);
>>     }
>>   
>>     if (pipe_in) {
>>       close (in_fds[0]);
>> !     /* Need binary mode set for OS/2. */
>> !     *pipe_in = fdopen (in_fds[1], "wb");
>>   
>>       if (*pipe_in) note_cleanups_for_file (p, *pipe_in);
>>     }
>

If you look at the code the last two changes are inside a large OS/2
section that is #ifdefed.


Garey Smiley
SoftLink Services
garey@slink.com
http://www.slink.com/
(216)848-1312 FAX/Data(216)699-4474

Mime
View raw message