aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-02-25 11:08:18 -0800
committerPaul Eggert2011-02-25 11:08:18 -0800
commit4ad89555139cef8136f98c7bd1ab83bf003ef5e4 (patch)
treecccc2afa7b547675fceea97b2d738a321d2d3c50 /src
parent7fe42546dd03801d190684ae29ced8e13b192156 (diff)
downloademacs-4ad89555139cef8136f98c7bd1ab83bf003ef5e4.tar.gz
emacs-4ad89555139cef8136f98c7bd1ab83bf003ef5e4.zip
* src/dired.c: Add comment and code explaining magic number.
Diffstat (limited to 'src')
-rw-r--r--src/dired.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index ce2a3d105e5..96063680d4d 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -937,7 +937,11 @@ so last access time will always be midnight of that day. */)
937 Lisp_Object dirname; 937 Lisp_Object dirname;
938 struct stat sdir; 938 struct stat sdir;
939#endif /* BSD4_2 */ 939#endif /* BSD4_2 */
940 char modes[12]; 940
941 /* An array to hold the mode string generated by filemodestring,
942 including its terminating space and null byte. */
943 char modes[sizeof "-rwxr-xr-x "];
944
941 Lisp_Object handler; 945 Lisp_Object handler;
942 struct gcpro gcpro1; 946 struct gcpro gcpro1;
943 char *uname = NULL, *gname = NULL; 947 char *uname = NULL, *gname = NULL;