From: scottk AT utig DOT ig DOT utexas DOT edu (Scott Kempf) Subject: patch to sys_errlist, fixes rm -f y; tar tf y 10 Jan 1997 11:08:01 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199701101643.KAA29729.cygnus.gnu-win32@utig.ig.utexas.edu> Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Tar doesn't always produce the correct error message. This seems to be due to a problem with the sys_errlist table. It is off by one. I don't have any documentation about sys_errlist. I'm assuming that tar is written correctly. You can see the problem with, "rm -f y; tar tf y". Scott *** cdksrc/src/winsup/libcerr.cc.orig Mon Dec 30 19:06:17 1996 --- cdksrc/src/winsup/libcerr.cc Mon Dec 30 19:06:39 1996 *************** *** 18,23 **** --- 18,24 ---- char *sys_errlist[100]= { + /* EOK 0 */ "No error", /* EPERM 1 */ "Not super-user", /* ENOENT 2 */ "No such file or directory", /* ESRCH 3 */ "No such process", - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".