Open
Conversation
A group's membership is PTEntry.members, not PTEntry.users Signed-off-by: Alex Dehnert <adehnert@mit.edu>
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 <adehnert@mit.edu>
Fixes warning: afs/_pts.pyx:115:8: Unreachable code warning: afs/_pts.pyx:130:8: Unreachable code Signed-off-by: Anders Kaseorg <andersk@mit.edu>
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 <andersk@mit.edu>
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 <andersk@mit.edu>
Author
|
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 |
Member
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I forward-ported the changes from Scripts on top of your forked copy of pyafs.