From: Paul Eggert Date: Fri, 25 Feb 2011 19:08:18 +0000 (-0800) Subject: * src/dired.c: Add comment and code explaining magic number. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~728 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ad89555139cef8136f98c7bd1ab83bf003ef5e4;p=emacs.git * src/dired.c: Add comment and code explaining magic number. --- 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. */) 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;