Ignore:
Timestamp:
09/23/06 20:59:08 (16 years ago)
Author:
zorg
Message:

Fix header overwrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/zorg/src/mppenc.c

    r49 r50  
    16621662                return 1;
    16631663            }
    1664             OutputFile = fopen ( OutputName, "wb" );
     1664            OutputFile = fopen ( OutputName, "w+b" );
    16651665            break;
    16661666        case MODE_OVERWRITE:
    1667             OutputFile = fopen ( OutputName, "wb" );
     1667            OutputFile = fopen ( OutputName, "w+b" );
    16681668            break;
    16691669        case MODE_ASK_FOR_OVERWRITE:
     
    16801680                                stderr_printf ( " YES\n" );
    16811681            }
    1682             OutputFile = fopen ( OutputName, "wb" );
     1682            OutputFile = fopen ( OutputName, "w+b" );
    16831683            break;
    16841684        }
Note: See TracChangeset for help on using the changeset viewer.