Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!tmpmbx!lime!nicedel!lynx1!jelal!nox From: nox@jelal.north.de (Juergen Lock) Newsgroups: comp.sys.atari.st Subject: Re: Reliable archiver/compressor wanted Summary: TC vs. zoo, or: how to fool a buggy compiler :-) Keywords: zoo 2.01, TC, zoo bug, TC bug Message-ID: Date: 22 May 91 22:36:24 GMT References: Distribution: comp Organization: home Lines: 42 X-Version: ST Inews V. 0.4 From article , by mathew@mantis.co.uk (CNEWS MUST DIE!): > ... > I'm having trouble finding a reliable compress/archive program. you didn't mention GNU tar + compress. reliable at least, not even too slow. :-) (but forget other ST tar's, GNU is the only one i've seen that works...) > LHARC is too > slow, ZOO falls over with particular files, and ARC seems to be dodgy when ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ thank you, this reminds me of a bugreport i probably should have made months ago already: (do you say it that way? sorry about my english...) ok, there is this zoo 2.01 that someone compiled with Turbo C, (sorry forgot who it was, else i wouldn't have to post this now...) that one had problems with certain (longer) files, like you say. now, an even longer while ago, :-) i compiled zoo 2.00 using the same compiler, and i first had similar problems. the reason was a bug in Turbo C: it didn't compile things like int x=30000; y=foo[x]; (where foo is an int * or something, i.e. anything `bigger' than a char *), properly. (made it something like `move (a0,d0.w),d1', if you know what i mean...) to `fix', i had to cast virtually everything inside [] to long's, to make it use `move (a0,d0.l),d1' like it should. so for the line above that would mean y=foo[(long) x]; . hope this helps, Juergen PS: to be fair, i don't know if the bug still is in TC's latest version (i only have 1.1), but if yes, at least you now know how to make the thing compile a working zoo. :-) -- J"urgen Lock / UUCP: ..!uunet!unido!jelal.north.de!nox / BITNET: d09c@dhbrrz41 ...ohne Gewehr