Changeset 256


Ignore:
Timestamp:
Jun 9, 2009, 12:05:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

printing.c:start_background_queue loop fix in 3.3 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/samba-3.3.x/source/printing/printing.c

    r206 r256  
    14031403        DEBUG(3,("start_background_queue: Starting background LPQ thread\n"));
    14041404
     1405#ifndef __OS2__
    14051406        if (pipe(pause_pipe) == -1) {
     1407#else
     1408        // on OS2 we have no select() on pipes, so we use socketpair() instead
     1409        if (socketpair(AF_UNIX, SOCK_STREAM,0, pause_pipe) < 0) {
     1410#endif
    14061411                DEBUG(5,("start_background_queue: cannot create pipe. %s\n", strerror(errno) ));
    14071412                exit(1);
Note: See TracChangeset for help on using the changeset viewer.