Path: utzoo!utgpu!attcan!uunet!husc6!cs.utexas.edu!milano!bigtex!james From: james@bigtex.uucp (James Van Artsdalen) Newsgroups: comp.unix.microport Subject: compress.c & GNU C 1.25 Message-ID: <5626@bigtex.uucp> Date: 9 Aug 88 05:14:46 GMT Organization: F.B.N. Software, Austin TX Lines: 11 compress.c does not work as is with GNU C. I don't know if this is a bug or a mysterious feature of ANSI C. The problem is that string constants have the high order bit cleared. To get compress working again, make the following change near line 126: < char_type magic_header[] = { "\037\235" }; /* 1F 9D */ --- > char_type magic_header[] = { 0x1f, 0x9d, 0x00 }; /* 1F 9D */ -- James R. Van Artsdalen ...!uunet!utastro!bigtex!james "Live Free or Die" Home: 512-346-2444 Work: 328-0282; 110 Wild Basin Rd. Ste #230, Austin TX 78746