summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2006-02-02 19:28:25 +0000
committerchristos <christos@pkgsrc.org>2006-02-02 19:28:25 +0000
commitc53c81e3726360c31cfc1463e120515ea8079505 (patch)
treeb7fdcb069aaee922facbdadb502fc33d6671ff2b /archivers
parent342f301f22ee56d477adf7dc10ac5632c49e4c15 (diff)
downloadpkgsrc-c53c81e3726360c31cfc1463e120515ea8079505.tar.gz
hack for solaris automounter.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/pax/files/ar_subs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/pax/files/ar_subs.c b/archivers/pax/files/ar_subs.c
index 9168c977445..6ca639ed78d 100644
--- a/archivers/pax/files/ar_subs.c
+++ b/archivers/pax/files/ar_subs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ar_subs.c,v 1.8 2005/12/01 03:00:01 minskim Exp $ */
+/* $NetBSD: ar_subs.c,v 1.9 2006/02/02 19:28:25 christos Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -48,7 +48,7 @@
#if 0
static char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: ar_subs.c,v 1.8 2005/12/01 03:00:01 minskim Exp $");
+__RCSID("$NetBSD: ar_subs.c,v 1.9 2006/02/02 19:28:25 christos Exp $");
#endif
#endif /* not lint */
@@ -177,6 +177,8 @@ domkdir(const char *fname, mode_t mode)
case EISDIR:
return 0;
case EEXIST:
+ case EACCES:
+ case ENOSYS: /* Grr Solaris */
error = errno;
if (stat(fname, &sb) != -1 && S_ISDIR(sb.st_mode))
return 0;