Hello folks, after converations on jabber ([EMAIL PROTECTED]), 
Derrick made an alternative patch that initializes the skipserver[i] 
instead of working around it being not set. You can grab the 
openafs-stable-1_4_x branch from CVS or 1.4.8pre3 when it shows up
(pre3 will be out if Derrick gets a Mac issue done). Or you can take
the patch I have tested from the attachment.

Harald.

--- openafs-1.4.8pre2/src/afs/afs_osi_pag.c.orig        2008-10-20 
18:09:04.000000000 +0200
+++ openafs-1.4.8pre2/src/afs/afs_osi_pag.c     2008-10-20 18:10:41.000000000 
+0200
@@ -429,9 +429,14 @@
 int
 afs_InitReq(register struct vrequest *av, struct AFS_UCRED *acred)
 {
+    int i = 0;
     AFS_STATCNT(afs_InitReq);
     if (afs_shuttingdown)
        return EIO;
+    while (i < MAXHOSTS) {
+      av->skipserver[i] = 0;
+      i++;
+    }
     av->uid = PagInCred(acred);
     if (av->uid == NOPAG) {
        /* Afs doesn't use the unix uid for anuthing except a handle
--- openafs-1.4.8pre2/src/afs/afs.h.orig        2008-10-20 18:34:10.000000000 
+0200
+++ openafs-1.4.8pre2/src/afs/afs.h     2008-10-20 18:35:16.000000000 +0200
@@ -183,7 +183,7 @@
     afs_int32 uid;             /* user id making the request */
     afs_int32 busyCount;       /* how many busies we've seen so far */
     afs_int32 flags;           /* things like O_SYNC, O_NONBLOCK go here */
-    char initd;                        /* if non-zero, non-uid fields 
meaningful */
+    char initd;                        /* if non-zero, the Error fields are 
meaningful */
     char accessError;          /* flags for overriding error return code */
     char volumeError;          /* encountered a missing or busy volume */
     char networkError;         /* encountered network problems */

Reply via email to