Ignore:
Timestamp:
Apr 23, 2012, 8:01:39 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.3: made it high-mem aware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/nmbd/asyncdns.c

    r206 r699  
    1717   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1818   */
     19#ifdef __OS2__
     20#define pipe(A) os2_pipe(A)
     21#endif
    1922
    2023#include "includes.h"
     
    141144        CatchChild();
    142145
    143 #ifdef __OS2__
    144 // cant use pipes here, because select() from innotek lib does work only for sockets.
    145         if (socketpair(AF_UNIX, SOCK_STREAM, 0, fd1) < 0)
    146         {
    147                 DEBUG(0,("can't create asyncdns socketpair1 %d\n", errno));
    148                 return;         
    149         }
    150         if (socketpair(AF_UNIX, SOCK_STREAM, 0, fd2) < 0)
    151         {
    152                 DEBUG(0,("can't create asyncdns socketpair2 %d\n", errno));
    153                 close(fd1[0]);
    154                 close(fd1[1]);
    155                 return;         
    156         }
    157 DEBUG(9,("!!!!!!PIPES %d %d %d %d\n", fd1[0], fd1[1], fd2[0], fd2[1]));
    158 #else
    159146        if (pipe(fd1) || pipe(fd2)) {
    160147                DEBUG(0,("can't create asyncdns pipes\n"));
    161148                return;
    162149        }
    163 #endif /* __OS2__ */
    164150        child_pid = sys_fork();
    165151
Note: See TracChangeset for help on using the changeset viewer.