Changeset 464
- Timestamp:
- Jun 10, 2010, 12:38:39 PM (16 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
-
lib/tevent/tevent_signal.c (modified) (2 diffs)
-
lib/tevent/tevent_util.c (modified) (3 diffs)
-
source3/lib/recvfile.c (modified) (1 diff)
-
source3/printing/print_cups.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/tevent/tevent_signal.c
r429 r464 30 30 #include "tevent_internal.h" 31 31 #include "tevent_util.h" 32 33 34 32 35 33 36 #define TEVENT_NUM_SIGNALS 64 … … 246 249 setup */ 247 250 if (ev->pipe_fde == NULL) { 251 248 252 if (pipe(ev->pipe_fds) == -1) { 253 254 255 249 256 talloc_free(se); 250 257 return NULL; -
trunk/server/lib/tevent/tevent_util.c
r414 r464 29 29 #include "tevent_util.h" 30 30 #include <fcntl.h> 31 32 33 31 34 32 35 /** … … 82 85 if((val = fcntl(fd, F_GETFL, 0)) == -1) 83 86 return -1; 87 84 88 if(set) /* Turn blocking on - ie. clear nonblock flag */ 85 89 val &= ~FLAG_TO_SET; … … 87 91 val |= FLAG_TO_SET; 88 92 return fcntl( fd, F_SETFL, val); 93 94 95 96 97 98 99 100 89 101 #undef FLAG_TO_SET 90 102 } -
trunk/server/source3/lib/recvfile.c
r414 r464 174 174 } 175 175 176 176 177 if ((pipefd[0] == -1) && (pipe(pipefd) == -1)) { 178 179 180 177 181 try_splice_call = false; 178 182 return default_sys_recvfile(fromfd, tofd, offset, count); -
trunk/server/source3/printing/print_cups.c
r429 r464 408 408 DEBUG(5,("cups_pcap_load_async: asynchronously loading cups printers\n")); 409 409 410 410 411 if (pipe(fds) == -1) { 412 413 414 411 415 return false; 412 416 }
Note:
See TracChangeset
for help on using the changeset viewer.
