Ignore:
Timestamp:
04/24/06 09:56:58 (16 years ago)
Author:
Perry Lorier <perry@…>
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:
97c8d58
Parents:
8f45780
Message:

Use binary i/o mode to keep windows backwardsness happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    redb18ce r8bef018  
    176176                return 0;
    177177        }
    178         ret=libtrace_io_fdopen(fd,"r");
     178        ret=libtrace_io_fdopen(fd,"rb");
    179179        return ret;
    180180}
     
    193193        sprintf(filemode,"wb%d",level);
    194194#else
    195         sprintf(filemode,"w");
     195        sprintf(filemode,"wb");
    196196#endif
    197197
Note: See TracChangeset for help on using the changeset viewer.