summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2005-03-24 22:06:36 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2005-03-24 22:06:36 +0000
commit7435aef8d027a45537d36d1a3c0c0ccd73157335 (patch)
tree567224d1baa06c7b420a6b5cf04f694e56db561b /src/dired.c
parent0de4dad447c6481938f324e42a0b88e8aa653fe4 (diff)
downloademacs-7435aef8d027a45537d36d1a3c0c0ccd73157335.tar.gz
(Ffile_attributes): Add a missing gcpro.
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dired.c b/src/dired.c
index ab6d0569107..62bf4beb384 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -906,6 +906,7 @@ Elements of the attribute list are:
#endif
char modes[10];
Lisp_Object handler;
+ struct gcpro gcpro1;
filename = Fexpand_file_name (filename, Qnil);
@@ -921,7 +922,9 @@ Elements of the attribute list are:
return call3 (handler, Qfile_attributes, filename, id_format);
}
+ GCPRO1 (filename);
encoded = ENCODE_FILE (filename);
+ UNGCPRO;
if (lstat (SDATA (encoded), &s) < 0)
return Qnil;