summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-08 17:11:46 +0000
committerrillig <rillig@pkgsrc.org>2007-03-08 17:11:46 +0000
commitc4ffd9c01760b43c31b7569bb6f4638349308c08 (patch)
tree49541bf9814f8bec33697037ba06c6bbd6ba90a9 /archivers
parent565d36e736f083c9fa74ac37fdfb8e7b1f9c3603 (diff)
downloadpkgsrc-c4ffd9c01760b43c31b7569bb6f4638349308c08.tar.gz
Merged the change from NetBSD's 1.51 to 1.52:
EROFS is not a critical error in a "mkdir -p".
Diffstat (limited to 'archivers')
-rw-r--r--archivers/pax/files/ar_subs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/pax/files/ar_subs.c b/archivers/pax/files/ar_subs.c
index 6ca639ed78d..8d086311168 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.9 2006/02/02 19:28:25 christos Exp $ */
+/* $NetBSD: ar_subs.c,v 1.10 2007/03/08 17:11:46 rillig 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.9 2006/02/02 19:28:25 christos Exp $");
+__RCSID("$NetBSD: ar_subs.c,v 1.10 2007/03/08 17:11:46 rillig Exp $");
#endif
#endif /* not lint */
@@ -179,6 +179,7 @@ domkdir(const char *fname, mode_t mode)
case EEXIST:
case EACCES:
case ENOSYS: /* Grr Solaris */
+ case EROFS:
error = errno;
if (stat(fname, &sb) != -1 && S_ISDIR(sb.st_mode))
return 0;