EBo wrote:
-int errno;
+#include <errno.h>
I simply noticed the patch and was wondering if there would be any advantage
to including it, so I have no idea if there is any specific advantage. I also
was not sure if this was simply a POSIX'ism or a 9'ism, and if this
could/should be cleaned up.
Actually the good folks at Linux have broken errno:
9l -o o.9660srv main.o 9660srv.o xfile.o iobuf.o data.o
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss
mismatches non-TLS reference in main.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
The include of errno.h is a necessary appeasment.
--
To err is human, to aaaaaargh: pirate.
Have you been touched by His noodley appendage?