[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107956: * dired.c (Fsystem_groups):
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107956: * dired.c (Fsystem_groups): Remove unused local. |
Date: |
Tue, 17 Apr 2012 15:56:06 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107956
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2012-04-17 15:56:06 -0700
message:
* dired.c (Fsystem_groups): Remove unused local.
modified:
src/ChangeLog
src/dired.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-04-17 01:35:15 +0000
+++ b/src/ChangeLog 2012-04-17 22:56:06 +0000
@@ -1,3 +1,7 @@
+2012-04-17 Paul Eggert <address@hidden>
+
+ * dired.c (Fsystem_groups): Remove unused local.
+
2012-04-17 Glenn Morris <address@hidden>
* dired.c (Fsystem_users): Doc fix.
=== modified file 'src/dired.c'
--- a/src/dired.c 2012-04-17 01:35:15 +0000
+++ b/src/dired.c 2012-04-17 22:56:06 +0000
@@ -1023,7 +1023,7 @@
(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 @@
(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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107956: * dired.c (Fsystem_groups): Remove unused local.,
Paul Eggert <=