Mercurial > emacs
comparison src/dired.c @ 103712:87554fb2c23c
(Ffile_attributes): Decode user and group names by the locale's encoding.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 03 Jul 2009 14:21:48 +0000 |
parents | 0fbfef200acd |
children | 13472a13e8f3 |
comparison
equal
deleted
inserted
replaced
103711:531520bb5152 | 103712:87554fb2c23c |
---|---|
1010 uname = stat_uname (&s); | 1010 uname = stat_uname (&s); |
1011 gname = stat_gname (&s); | 1011 gname = stat_gname (&s); |
1012 UNBLOCK_INPUT; | 1012 UNBLOCK_INPUT; |
1013 } | 1013 } |
1014 if (uname) | 1014 if (uname) |
1015 values[2] = build_string (uname); | 1015 values[2] = DECODE_SYSTEM (build_string (uname)); |
1016 else | 1016 else |
1017 values[2] = make_uid (&s); | 1017 values[2] = make_uid (&s); |
1018 if (gname) | 1018 if (gname) |
1019 values[3] = build_string (gname); | 1019 values[3] = DECODE_SYSTEM (build_string (gname)); |
1020 else | 1020 else |
1021 values[3] = make_gid (&s); | 1021 values[3] = make_gid (&s); |
1022 | 1022 |
1023 values[4] = make_time (s.st_atime); | 1023 values[4] = make_time (s.st_atime); |
1024 values[5] = make_time (s.st_mtime); | 1024 values[5] = make_time (s.st_mtime); |