projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
細部の修正
[YACASL2.git]
/
src
/
cerr.c
diff --git
a/src/cerr.c
b/src/cerr.c
index
dca9365
..
ceea3af
100644
(file)
--- a/
src/cerr.c
+++ b/
src/cerr.c
@@
-36,7
+36,7
@@
CERRARRAY cerr[] = {
void setcerr(int num, const char *val)
{
cerrno = num;
- cerrmsg = malloc(
256
);
+ cerrmsg = malloc(
MSGSIZE + 1
);
if(val != NULL) {
strcpy(cerrmsg, val);
strcat(cerrmsg, ": ");