OSDN Git Service

* Makefile.in (ALL_LDFLAGS): Add --enable-auto-import option to quiet ld
authorcgf <cgf>
Sun, 17 Aug 2008 16:45:43 +0000 (16:45 +0000)
committercgf <cgf>
Sun, 17 Aug 2008 16:45:43 +0000 (16:45 +0000)
commit82d113972bae7da1102de7d435d549c222ade879
treeedbaaa584c002573aac202b4403f9cfad88f44fd
parentdbab2ec53d7dd3c583bc460ed42b0577e893df8d
* 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.
winsup/utils/ChangeLog
winsup/utils/Makefile.in
winsup/utils/mkgroup.c
winsup/utils/mkpasswd.c