- Timestamp:
- 03/03/06 10:37:27 (16 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 18544c8
- Parents:
- 30c0246
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_helper.c
r0d57541 r0c820d3 29 29 */ 30 30 31 #include "config.h" 32 #include <sys/types.h> 33 #include <fcntl.h> /* for O_LARGEFILE */ 31 34 #include "libtrace.h" 32 35 #include "libtrace_int.h" 33 #include "config.h"34 36 35 37 #include <stdlib.h> … … 37 39 #include <string.h> 38 40 #include <errno.h> 39 #include <fcntl.h> /* for O_LARGEFILE */40 41 #ifdef HAVE_INTTYPES_H 41 42 # include <inttypes.h> … … 157 158 * as zlib doesn't always do it itself 158 159 */ 159 fd=open(trace->uridata,O_LARGEFILE );160 fd=open(trace->uridata,O_LARGEFILE|O_RDONLY); 160 161 if (fd==-1) { 161 162 trace_set_err(trace,errno,"Unable to open %s",trace->uridata);
Note: See TracChangeset
for help on using the changeset viewer.