New conversion tool - lots of fixes

Faye Pearson faye at c...
Mon, 15 Oct 2001 12:02:07 +0100


Stealth Dave <stealthdave@s...> wrote:
> I'm having trouble opening the archive. I'm getting an
> "End-of-central-directory signature not found" error from unzip in
> Linux. I also couldn't open it using WinRAR. I don't have WinZip
> installed, but I'm pretty sure that it's a broken archive and not my
> archive software.

You can use uudeview to safely extract the archive. There were no
errors in the post.

> Also, have you tried compiling this under Linux? If you couldn't tell,
> I'm a Linux user, so being able to compile under Linux would be a huge
> plus. I do dual-boot with WinME, but it's a pain in the butt to do so.

I just tried. Comment out the lines
#include <io.h>
and the one that mentions _O_BINARY - all files in linux are binary :)

You may also want to remove all carriage returns from the source. In
vim, :%s/^V^M//g will remove them all.

I think that's all I did and it produced a binary - I can't test if it's
working from work but I can't see anything that I commented out causing
problems in Linux.


Faye

-- 
Faye Pearson,
Software Development Manager,
ClaraNET Ltd. Tel 020 7903 3000

Getting the job done is no excuse for not following the rules.

Corollary:
Following the rules will not get the job done.