summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-01-20 21:18:31 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-01-20 21:18:31 +0000
commit45c7d781c6074e73957814269d6bf040bcd3219b (patch)
tree8f8c785ea816838afc95ee8cc708246d93eabd89 /src/dired.c
parent1ce8d8b1c5b2338fa316f46019b36bd01fa38a49 (diff)
downloademacs-45c7d781c6074e73957814269d6bf040bcd3219b.tar.gz
(Ffile_attributes): Lisp_Object/int mixup.
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dired.c b/src/dired.c
index 3bcd3051c25..f4102ff6edb 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -1,5 +1,5 @@
/* Lisp functions for making directory listings.
- Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001
+ Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2004
Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -941,9 +941,9 @@ Elements of the attribute list are:
else
{
pw = (struct passwd *) getpwuid (s.st_uid);
- values[2] = (pw ? build_string (pw->pw_name) : s.st_uid);
+ values[2] = (pw ? build_string (pw->pw_name) : make_number (s.st_uid));
gr = (struct group *) getgrgid (s.st_gid);
- values[3] = (gr ? build_string (gr->gr_name) : s.st_gid);
+ values[3] = (gr ? build_string (gr->gr_name) : make_number (s.st_gid));
}
values[4] = make_time (s.st_atime);
values[5] = make_time (s.st_mtime);