projects
/
polyglot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
version 1.4.36b
[polyglot.git]
/
util.h
diff --git
a/util.h
b/util.h
index
2b0886c
..
99fa6ac
100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-77,7
+77,7
@@
format, \
\r
arg_list); \
\r
va_end(arg_list); \
\r
- buf[sizeof(buf)]='\0'; \
\r
+ buf[sizeof(buf)-1]='\0'; \
\r
if(written>=sizeof(buf) || written<0){ \
\r
my_fatal("write_buffer overflow: file \"%s\", line %d\n", \
\r
__FILE__,__LINE__); \
\r