Large files support on FreeBSD

Johan van Selst johans at stack.nl
Sun Mar 22 13:29:56 UTC 2009


Julien ÉLIE wrote:
> -bash-2.05b$ ./strerror.t
> 5
> ok 1
> not ok 2
>  wanted: Unknown error: 0
>    seen: Undefined error: 0

This is about strerror(0),

The problem here is that FreeBSD uses the string "Unknown error: N" for
strerror(N) with N < 1 or N > sys_nerr. But INN expects that it would
return sys_errlist[0], that is "Undefined error: 0".
This seems to be a bug (or at least something odd) in FreeBSD.
Don't think it is worth working around this...


Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/inn-workers/attachments/20090322/756c36ad/attachment.bin>


More information about the inn-workers mailing list