Changeset 980
- Timestamp:
- Sep 23, 2016, 5:50:54 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/replace/test/shared_mmap.c
r414 r980 20 20 int *buf; 21 21 int i; 22 int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC ,0666);22 int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC|O_BINARY,0666); 23 23 int count=7; 24 24 … … 32 32 33 33 if (fork() == 0) { 34 fd = open(DATA,O_RDWR );34 fd = open(DATA,O_RDWR|O_BINARY); 35 35 if (fd == -1) exit(1); 36 36 … … 48 48 } 49 49 50 fd = open(DATA,O_RDWR );50 fd = open(DATA,O_RDWR|O_BINARY); 51 51 if (fd == -1) exit(1); 52 52 -
trunk/server/lib/util/util_file.c
r901 r980 227 227 #ifdef HAVE_MMAP 228 228 int fd; 229 #ifdef __OS2__ 230 fd = open(fname, O_RDONLY | O_BINARY, 0); 231 #else 229 232 fd = open(fname, O_RDONLY, 0); 233 #endif 230 234 if (fd == -1) { 231 235 DEBUG(2,("Failed to load %s - %s\n", fname, strerror(errno))); -
trunk/server/source3/Makefile.in
r920 r980 2144 2144 LIBTEVENT_STATIC_TARGET=@LIBTEVENT_STATIC_TARGET@ 2145 2145 LIBTEVENT_SYMS=$(srcdir)/exports/libtevent.@SYMSEXT@ 2146 LIBTEVENT_HEADERS= $(srcdir)/@teventdir@/tevent.h $(srcdir)/@teventdir@/tevent_internal.h2146 LIBTEVENT_HEADERS=@teventdir@/tevent.h @teventdir@/tevent_internal.h 2147 2147 2148 2148 $(LIBTEVENT_SYMS): $(LIBTEVENT_HEADERS)
Note:
See TracChangeset
for help on using the changeset viewer.