Bugzilla – Attachment 2752 Details for
Bug 2497
Add debugging information to ga_match() to show each attempted match
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
verbose group match logging
patch (text/plain), 469 bytes, created by
Jakub Jelen
on 2015-11-19 01:56:24 AEDT
(
hide
)
Description:
verbose group match logging
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-11-19 01:56:24 AEDT
Size:
469 bytes
patch
obsolete
>diff --git a/groupaccess.c b/groupaccess.c >index 2518c84..5770b0e 100644 >--- a/groupaccess.c >+++ b/groupaccess.c >@@ -83,9 +83,12 @@ ga_match(char * const *groups, int n) > int i, j; > > for (i = 0; i < ngroups; i++) >- for (j = 0; j < n; j++) >+ for (j = 0; j < n; j++) { >+ debug3("Does groups_byname[%d] '%s' match groups[%d] '%s'", >+ i, groups_byname[i], j, groups[j]); > if (match_pattern(groups_byname[i], groups[j])) > return 1; >+ } > return 0; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2497
: 2752