Re: CD-RW

alex.buell@tahallah.demon.co.uk
Mon, 24 May 1999 13:57:17 +0100 (BST)


On Sat, 22 May 1999, Linus Torvalds wrote:

> I made a tar.gz file and put it on ftp.kernel.org. I do _not_ intend
> to claim that this is a particularly good version of uemacs - it's
> just the one I use, and it has seen some development that makes it
> better than some other versions I have seen. Caveat emptor.

Here's a patch to get rid of sys_errlist and replace it with strerror.
That is what POSIX tells us to do, right?

Only in em-4.0.15-lt-new: em
diff -ur em-4.0.15-lt/lock.c em-4.0.15-lt-new/lock.c
--- em-4.0.15-lt/lock.c Sun May 16 08:04:17 1999
+++ em-4.0.15-lt-new/lock.c Mon May 24 13:50:57 1999
@@ -153,7 +153,7 @@
strcpy(obuf, errstr);
strcat(obuf, " - ");
if (errno < sys_nerr)
- strcat(obuf, sys_errlist[errno]);
+ strcat(obuf, strerror(errno));
else
strcat(obuf, "(can not get system error message)");
mlwrite(obuf);

Cheers,
Alex.

-- 
"The Bible was written by the same people who said the Earth was flat!"

http://www.tahallah.demon.co.uk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/