diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-04-16 21:29:58 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-04-16 21:29:58 -0400 |
commit | 316411f0f20d409ec24ee892393f15701b05de1c (patch) | |
tree | db48481dff396a640011c69f51bb9c98ad5034b9 /lisp/emacs-lisp/check-declare.el | |
parent | 41f03f4da76827e8611267ee5283a5df8071a617 (diff) | |
download | emacs-316411f0f20d409ec24ee892393f15701b05de1c.tar.gz emacs-316411f0f20d409ec24ee892393f15701b05de1c.tar.bz2 emacs-316411f0f20d409ec24ee892393f15701b05de1c.zip |
Add functions to get system user names, group names
Note from committer:
I removed the part that adds grp.h to AC_CHECK_HEADERS and
+#ifdef HAVE_GRP_H
#include <grp.h>
+#endif
to src/dired.c, because the latter has unconditionally included grp.h
since 2003, and uses it eg in stat_gname.
* configure.in (AC_CHECK_FUNCS): Add getpwent, endpwent, getgrent, endgrent.
* src/dired.c (Fsystem_users, Fsystem_groups): New functions.
(syms_of_dired): Add them.
Fixes: debbugs:7900
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions