- Timestamp:
- 05/19/05 14:48:42 (17 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:
- b5236ad
- Parents:
- c2f39fb
- Location:
- lib
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
ra3dc71c rdb06c9d 466 466 { 467 467 #endif 468 469 /* Catch undefined O_LARGEFILE on *BSD etc */ 470 #ifndef O_LARGEFILE 471 # define O_LARGEFILE 0 472 #endif 473 468 474 #if HAVE_ZLIB 469 475 // using gzdopen means we can set O_LARGEFILE … … 472 478 libtrace->input.file = gzdopen(open(libtrace->conn_info.path,O_LARGEFILE), "r"); 473 479 #else 474 libtrace->input.file = f open(libtrace->conn_info.path, "r");480 libtrace->input.file = fdopen(open(libtrace->conn_info.path,O_LARGEFILE), "r"); 475 481 #endif 476 482 }
Note: See TracChangeset
for help on using the changeset viewer.