-
Notifications
You must be signed in to change notification settings - Fork 463
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
getent: fix group - name to gid calculation #1764
Conversation
Signed-off-by: Antal Nemes <antal.nemes@balabit.com>
Build SUCCESS, the tests were executed on test branch: master and test suite: functions |
@kira-syslogng retest this please test branch=furiel-getent-group; |
Build SUCCESS, the tests were executed on test branch: furiel-getent-group and test suite: functions |
@kira-syslogng retest this please test branch=furiel-getent-group; |
Build SUCCESS, the tests were executed on test branch: furiel-getent-group and test suite: functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -77,6 +77,13 @@ _getent_format_array(gchar *name_or_gid, gpointer members, GString *result) | |||
return TRUE; | |||
} | |||
|
|||
static gboolean | |||
_getent_format_array_at_location(gchar *name_or_gid, gpointer location, GString *result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the new function is needed ?
The original _getent_format_array
is not used anywhere else.
Fixes: #1757