Subject: patch to sys_errlist, fixes rm -f y; tar tf y
From: [email-masked] (Scott Kempf)

10 Jan 1997 11:08:01 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-Sender: [email-masked]

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
"[email-masked]" with one line of text: "help".