aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/dired.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 78fa3b501a3..ae245a254a0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -11,6 +11,10 @@
11 the Emacs and Gnulib regex code is merged. 11 the Emacs and Gnulib regex code is merged.
12 (xmalloc, xrealloc): Now static. 12 (xmalloc, xrealloc): Now static.
13 13
142012-04-17 Paul Eggert <eggert@cs.ucla.edu>
15
16 * dired.c (Fsystem_groups): Remove unused local.
17
142012-04-17 Glenn Morris <rgm@gnu.org> 182012-04-17 Glenn Morris <rgm@gnu.org>
15 19
16 * dired.c (Fsystem_users): Doc fix. 20 * dired.c (Fsystem_users): Doc fix.
diff --git a/src/dired.c b/src/dired.c
index eeae59d2801..367bcb4031d 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -1023,7 +1023,7 @@ return a list with one element, taken from `user-real-login-name'. */)
1023 (void) 1023 (void)
1024{ 1024{
1025 Lisp_Object users = Qnil; 1025 Lisp_Object users = Qnil;
1026#if defined(HAVE_GETPWENT) && defined(HAVE_ENDPWENT) 1026#if defined HAVE_GETPWENT && defined HAVE_ENDPWENT
1027 struct passwd *pw; 1027 struct passwd *pw;
1028 1028
1029 while ((pw = getpwent ())) 1029 while ((pw = getpwent ()))
@@ -1043,9 +1043,8 @@ The value may be nil if not supported on this platform. */)
1043 (void) 1043 (void)
1044{ 1044{
1045 Lisp_Object groups = Qnil; 1045 Lisp_Object groups = Qnil;
1046#if defined(HAVE_GETGRENT) && defined(HAVE_ENDGRENT) 1046#if defined HAVE_GETGRENT && defined HAVE_ENDGRENT
1047 struct group *gr; 1047 struct group *gr;
1048 int length;
1049 1048
1050 while ((gr = getgrent ())) 1049 while ((gr = getgrent ()))
1051 groups = Fcons (DECODE_SYSTEM (build_string (gr->gr_name)), groups); 1050 groups = Fcons (DECODE_SYSTEM (build_string (gr->gr_name)), groups);