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:
10d0774
)
(MAKE_LOCK_NAME): Use size_byte.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 5 Jan 1998 17:32:08 +0000
(17:32 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 5 Jan 1998 17:32:08 +0000
(17:32 +0000)
src/filelock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index
15b0dcb
..
a3735bc
100644
(file)
--- 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