Changeset 659 for trunk/server/source3/printing/printing.c
- Timestamp:
- Nov 9, 2011, 6:32:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/printing/printing.c
r480 r659 22 22 #include "includes.h" 23 23 #include "printing.h" 24 25 #ifdef __OS2__ 26 #define pipe(A) os2_socketpair(A) 27 #endif 24 28 25 29 extern struct current_user current_user; … … 1412 1416 DEBUG(3,("start_background_queue: Starting background LPQ thread\n")); 1413 1417 1414 #ifndef __OS2__1415 1418 if (pipe(pause_pipe) == -1) { 1416 #else // on OS2 we have no select() on pipes, so we use socketpair() instead1417 if (socketpair(AF_UNIX, SOCK_STREAM,0, pause_pipe) < 0) {1418 #endif1419 1419 DEBUG(5,("start_background_queue: cannot create pipe. %s\n", strerror(errno) )); 1420 1420 exit(1);
Note:
See TracChangeset
for help on using the changeset viewer.