From a589b6a78351509326cd03bc790c271de31e7914 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 27 Jul 2009 01:17:43 -0700 Subject: [PATCH] Ignore the "over" argument used in _ListMembers and _ListOwned. That flag being set is not necessarily indicative of an overflow. For example, it gets set when a lookup returns permission denied. Signed-off-by: Evan Broder --- afs/_pts.pyx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/afs/_pts.pyx b/afs/_pts.pyx index 4a40bd0..eb62c08 100644 --- a/afs/_pts.pyx +++ b/afs/_pts.pyx @@ -70,7 +70,6 @@ cdef import from "afs/ptuser.h": cdef import from "afs/pterror.h": enum: PRNOENT - PRTOOMANY cdef class PTEntry: cdef public afs_int32 flags @@ -370,8 +369,6 @@ cdef class PTS: members.append(alist.prlist_val[i]) free(alist.prlist_val) - if over: - code = PRTOOMANY pyafs_error(code) return members @@ -397,8 +394,6 @@ cdef class PTS: owned.append(alist.prlist_val[i]) free(alist.prlist_val) - if over: - code = PRTOOMANY pyafs_error(code) return owned -- 1.7.9.5