[comp.sys.amiga] perror

sie@fulcrum.bt.co.uk (Simon Raybould) (11/22/89)

Thanks to all who advised about Lattice registration and I have sent
my card off.

My current problem is this:-
I have found that perror() in lattice 5.02 doesn't seem to work ?
It always comes up with "Unknown error" even though

fprintf(stderr, "function(): %s\n", sys_errlist[errno]);

works fine and produces the correct error messages..

Has this been fixed in 5.04 and so should I just wait for my upgrade
to appear ?

Am I missing something here ??


S.J.R

+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-+
|   Simon Raybould                |  BT Fulcrum   | Are all your pets called  |
|   path : sie@fulcrum.bt.co.uk   |  Birmingham   |      Eric ??? - Python    |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-+

bader+@andrew.cmu.edu (Miles Bader) (11/24/89)

sie@fulcrum.bt.co.uk (Simon Raybould) writes:
> My current problem is this:-
> I have found that perror() in lattice 5.02 doesn't seem to work ?
> It always comes up with "Unknown error" even though

Yup, it was broken, and yup, it does seem to work in 5.04.

-Miles