From: Richard M. Stallman Date: Mon, 5 Jan 1998 17:32:08 +0000 (+0000) Subject: (MAKE_LOCK_NAME): Use size_byte. X-Git-Tag: emacs-20.3~2481 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=797ddf5794adb41ca6af668320608e7ed9d7bdc5;p=emacs.git (MAKE_LOCK_NAME): Use size_byte. --- diff --git a/src/filelock.c b/src/filelock.c index 15b0dcb8c73..a3735bcf101 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -100,7 +100,7 @@ typedef struct /* Write the name of the lock file for FN into LFNAME. Length will be that of FN plus two more for the leading `.#' plus one for the null. */ #define MAKE_LOCK_NAME(lock, file) \ - (lock = (char *) alloca (XSTRING (file)->size + 2 + 1), \ + (lock = (char *) alloca (XSTRING (file)->size_byte + 2 + 1), \ fill_in_lock_file_name (lock, (file))) static void