pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/pax/files hack for solaris automounter.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81cbe6528488
branches:  trunk
changeset: 507468:81cbe6528488
user:      christos <christos%pkgsrc.org@localhost>
date:      Thu Feb 02 19:28:25 2006 +0000

description:
hack for solaris automounter.

diffstat:

 archivers/pax/files/ar_subs.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 4abaa1cc7857 -r 81cbe6528488 archivers/pax/files/ar_subs.c
--- a/archivers/pax/files/ar_subs.c     Thu Feb 02 19:17:44 2006 +0000
+++ b/archivers/pax/files/ar_subs.c     Thu Feb 02 19:28:25 2006 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index