Subject: pax & EACCESS - patch for review
To: None <tech-userlevel@NetBSD.org>
From: Hubert Feyrer <feyrer@cs.stevens.edu>
List: tech-userlevel
Date: 12/06/2005 17:56:56
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--ELM1133888032-12491-0_
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <Pine.LNX.4.61.0512061756322.14084@m24s24.vlinux.de>



---------- Forwarded message ----------
Date: Tue, 6 Dec 2005 17:53:52 +0100 (CET)
From: Georg Schwarz <georg.schwarz@freenet.de>
To: tech-pkg@netbsd.org
Subject: Re: issue with pax creating a directory

attached please find a proposed patch to correct the issue with pax
on IRIX 5.3 reported yesterday. Feedback would be very much appreciated.
Who is the best person to address this to?

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
  georg.schwarz@freenet.de  +49 178 8545053
--ELM1133888032-12491-0_
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.61.0512061756323.14084@m24s24.vlinux.de>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="ar_subs.c.diff"

--- ar_subs.c.orig	2005-12-06 13:13:01.000000000 +0100
+++ ar_subs.c	2005-12-06 13:13:54.000000000 +0100
@@ -177,6 +177,7 @@
 	case EISDIR:
 		return 0;
 	case EEXIST:
+	case EACCES:
 		error = errno;
 		if (stat(fname, &sb) != -1 && S_ISDIR(sb.st_mode))
 			return 0;

--ELM1133888032-12491-0_--