Changeset 1037 for trunk/server/source3/printing/printspoolss.c
- Timestamp:
- Aug 18, 2017, 4:41:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/printing/printspoolss.c
r751 r1037 25 25 #include "smbd/globals.h" 26 26 #include "../libcli/security/security.h" 27 27 #ifdef __OS2__ 28 #include <sys/fcntl.h> 29 #endif 28 30 void print_spool_terminate(struct connection_struct *conn, 29 31 struct print_file_data *print_file); … … 109 111 errno = 0; 110 112 fd = mkstemp(pf->filename); 113 #ifdef __OS2__ 114 if (fd >= 0) 115 setmode(fd, O_BINARY); 116 #endif 111 117 if (fd == -1) { 112 118 if (errno == EACCES) {
Note:
See TracChangeset
for help on using the changeset viewer.