-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 for python-afs #5
base: master
Are you sure you want to change the base?
Conversation
A group's membership is PTEntry.members, not PTEntry.users Signed-off-by: Alex Dehnert <[email protected]>
If available, we want to build against the _pic variant of the libafsauthent library. On Fedora, that's in lib64, not lib, so we need to pick it up there too. Signed-off-by: Alex Dehnert <[email protected]>
Fixes warning: afs/_pts.pyx:115:8: Unreachable code warning: afs/_pts.pyx:130:8: Unreachable code Signed-off-by: Anders Kaseorg <[email protected]>
Fixes warning: afs/_util.pyx:15:5: Function 'pioctl_read' previously declared as 'private' warning: afs/_util.pyx:29:5: Function 'pioctl_write' previously declared as 'private' Signed-off-by: Anders Kaseorg <[email protected]>
Previously, PTS.__cinit__ would leave sc uninitialized when passed an invalid negative sec argument. Fixes afs/_pts.c: In function ‘__pyx_pf_3afs_4_pts_3PTS___cinit__’: afs/_pts.c:2999:56: warning: ‘__pyx_v_sc’ may be used uninitialized in this function [-Wmaybe-uninitialized] (__pyx_v_serverconns[__pyx_v_i]) = rx_NewConnection((__pyx_v_info.hostAddr[__pyx_v_i]).sin_addr.s_addr, (__pyx_v_info.hostAddr[__pyx_v_i]).sin_port, PRSRV, __pyx_v_sc, __pyx_t_9); ^ Signed-off-by: Anders Kaseorg <[email protected]>
As a warning/update: This will need some massaging to the build process to build as part of a Debian package. Debian's AFS libraries link against Heimdal, so you need to get both Heimdal |
These changes strike me as reasonable. I'm not sure what the review and merge process looks like these days (I think I have bits, but I don't remember technical or process steps), and I guess we'd want to fix the build before merging into mit-athena. |
I forward-ported the changes from Scripts on top of your forked copy of pyafs.