* dired.c (Fsystem_groups): Remove unused local.
This commit is contained in:
parent
197b6f3c60
commit
aba027e80c
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-04-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* dired.c (Fsystem_groups): Remove unused local.
|
||||
|
||||
2012-04-17 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* dired.c (Fsystem_users): Doc fix.
|
||||
|
|
|
@ -1023,7 +1023,7 @@ return a list with one element, taken from `user-real-login-name'. */)
|
|||
(void)
|
||||
{
|
||||
Lisp_Object users = Qnil;
|
||||
#if defined(HAVE_GETPWENT) && defined(HAVE_ENDPWENT)
|
||||
#if defined HAVE_GETPWENT && defined HAVE_ENDPWENT
|
||||
struct passwd *pw;
|
||||
|
||||
while ((pw = getpwent ()))
|
||||
|
@ -1043,9 +1043,8 @@ The value may be nil if not supported on this platform. */)
|
|||
(void)
|
||||
{
|
||||
Lisp_Object groups = Qnil;
|
||||
#if defined(HAVE_GETGRENT) && defined(HAVE_ENDGRENT)
|
||||
#if defined HAVE_GETGRENT && defined HAVE_ENDGRENT
|
||||
struct group *gr;
|
||||
int length;
|
||||
|
||||
while ((gr = getgrent ()))
|
||||
groups = Fcons (DECODE_SYSTEM (build_string (gr->gr_name)), groups);
|
||||
|
|
Loading…
Add table
Reference in a new issue