HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe4254
)
* src/dired.c: Add comment and code explaining magic number.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 25 Feb 2011 19:08:18 +0000
(11:08 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 25 Feb 2011 19:08:18 +0000
(11:08 -0800)
src/dired.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dired.c
b/src/dired.c
index
ce2a3d1
..
9606368
100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-937,7
+937,11
@@
so last access time will always be midnight of that day. */)
Lisp_Object dirname;
struct stat sdir;
#endif /* BSD4_2 */
- char modes[12];
+
+ /* An array to hold the mode string generated by filemodestring,
+ including its terminating space and null byte. */
+ char modes[sizeof "-rwxr-xr-x "];
+
Lisp_Object handler;
struct gcpro gcpro1;
char *uname = NULL, *gname = NULL;