Backing out a workaround that actually breaks applesingle decoding. Only affects the Mach-O build.

This commit is contained in:
bryner%netscape.com 2002-08-06 23:51:59 +00:00
Родитель 1102b2ae34
Коммит 4cdeac1e1c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -64,7 +64,7 @@ static int read_int(FILE* f)
static void copy_range(FILE* input, size_t offset, size_t length, static void copy_range(FILE* input, size_t offset, size_t length,
const char* output_name) const char* output_name)
{ {
FILE* output = fopen(output_name, "rw"); FILE* output = fopen(output_name, "wb");
EXIT_IF_FALSE(output != NULL); EXIT_IF_FALSE(output != NULL);
fseek(input, offset, SEEK_SET); fseek(input, offset, SEEK_SET);
while (length != 0) { while (length != 0) {