aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2004-01-20 21:18:31 +0000
committerStefan Monnier2004-01-20 21:18:31 +0000
commit45c7d781c6074e73957814269d6bf040bcd3219b (patch)
tree8f8c785ea816838afc95ee8cc708246d93eabd89 /src
parent1ce8d8b1c5b2338fa316f46019b36bd01fa38a49 (diff)
downloademacs-45c7d781c6074e73957814269d6bf040bcd3219b.tar.gz
emacs-45c7d781c6074e73957814269d6bf040bcd3219b.zip
(Ffile_attributes): Lisp_Object/int mixup.
Diffstat (limited to 'src')
-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 @@
1/* Lisp functions for making directory listings. 1/* Lisp functions for making directory listings.
2 Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001 2 Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2004
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -941,9 +941,9 @@ Elements of the attribute list are:
941 else 941 else
942 { 942 {
943 pw = (struct passwd *) getpwuid (s.st_uid); 943 pw = (struct passwd *) getpwuid (s.st_uid);
944 values[2] = (pw ? build_string (pw->pw_name) : s.st_uid); 944 values[2] = (pw ? build_string (pw->pw_name) : make_number (s.st_uid));
945 gr = (struct group *) getgrgid (s.st_gid); 945 gr = (struct group *) getgrgid (s.st_gid);
946 values[3] = (gr ? build_string (gr->gr_name) : s.st_gid); 946 values[3] = (gr ? build_string (gr->gr_name) : make_number (s.st_gid));
947 } 947 }
948 values[4] = make_time (s.st_atime); 948 values[4] = make_time (s.st_atime);
949 values[5] = make_time (s.st_mtime); 949 values[5] = make_time (s.st_mtime);