CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: [EMAIL PROTECTED] 2008-08-17 16:45:44
Modified files:
utils : ChangeLog Makefile.in mkgroup.c mkpasswd.c
Log message:
* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld
warnings.
* mkgroup.c: Change all global variables and most functions to static.
(enum_local_groups): Add a print_current parameter to control whether
entries
for everything should be printed or just the current user.
(enum_groups): Ditto.
(main): Move call fetch_current_pgrp_sid earlier to avoid a NULL
deference when
no command line arguments are specified. Accommodate argument changes
to above
functions. Avoid printing SYSTEM account when print_current is
specified.
Issue error when extra stuff is found on the command line.
* mkpasswd.c: Change all global variables and most functions to static.
(enum_users): Add a print_current parameter to control whether entries
for
everything should be printed or just the current user.
(main): Move call fetch_current_user_sid earlier to avoid a NULL
deference when
no command line arguments are specified. Accommodate argument change
to above
function. Avoid printing standard accounts when print_current is
specified.
Issue error when extra stuff is found on the command line.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaum&r1=1.419&r2=1.420
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/Makefile.in.diff?cvsroot=uberbaum&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/mkgroup.c.diff?cvsroot=uberbaum&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/mkpasswd.c.diff?cvsroot=uberbaum&r1=1.45&r2=1.46