Changeset a3dc71c for lib/trace.c
- Timestamp:
- 05/17/05 18:07:02 (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:
- c2f39fb
- Parents:
- 356fa40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
r356fa40 ra3dc71c 467 467 #endif 468 468 #if HAVE_ZLIB 469 libtrace->input.file = gzopen(libtrace->conn_info.path, "r"); 469 // using gzdopen means we can set O_LARGEFILE 470 // ourselves. However, this way is messy and 471 // we lose any error checking on "open" 472 libtrace->input.file = gzdopen(open(libtrace->conn_info.path,O_LARGEFILE), "r"); 470 473 #else 471 474 libtrace->input.file = fopen(libtrace->conn_info.path, "r");
Note: See TracChangeset
for help on using the changeset viewer.