aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
authorEli Zaretskii2013-11-18 16:29:23 +0200
committerEli Zaretskii2013-11-18 16:29:23 +0200
commitdf87c56cdf6c8c13e8760bdc409e2eb0fda55b0b (patch)
tree10f9b84fd94176efcc53bfa72f2a9379a60e2357 /src/dired.c
parenta868f601ebc7b6e81a55b5869fa6c0ab74bde633 (diff)
downloademacs-df87c56cdf6c8c13e8760bdc409e2eb0fda55b0b.tar.gz
emacs-df87c56cdf6c8c13e8760bdc409e2eb0fda55b0b.zip
Converted and tested stat and fstatat.
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c
index 1bdb171c4d0..9520104dbc1 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -958,11 +958,11 @@ file_attributes (int fd, char const *name, Lisp_Object id_format)
958 unblock_input (); 958 unblock_input ();
959 } 959 }
960 if (uname) 960 if (uname)
961 values[2] = DECODE_SYSTEM (build_string (uname)); 961 values[2] = DECODE_SYSTEM (build_unibyte_string (uname));
962 else 962 else
963 values[2] = make_fixnum_or_float (s.st_uid); 963 values[2] = make_fixnum_or_float (s.st_uid);
964 if (gname) 964 if (gname)
965 values[3] = DECODE_SYSTEM (build_string (gname)); 965 values[3] = DECODE_SYSTEM (build_unibyte_string (gname));
966 else 966 else
967 values[3] = make_fixnum_or_float (s.st_gid); 967 values[3] = make_fixnum_or_float (s.st_gid);
968 968