OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efce611
)
tag_sizeを1で初期化していたため、初回起動時にNULLポインタを参照したファイル書き込み(write(fd, NULL, 1);)が発生する不具合を修正。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 25 Apr 2006 04:37:49 +0000
(
04:37
+0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 25 Apr 2006 04:37:49 +0000
(
04:37
+0000)
src/init1.c
patch
|
blob
|
history
diff --git
a/src/init1.c
b/src/init1.c
index
ac77d46
..
bfcdb7d
100644
(file)
--- a/
src/init1.c
+++ b/
src/init1.c
@@
-1034,7
+1034,7
@@
errr init_info_txt(FILE *fp, char *buf, header *head,
/* Prepare the "fake" stuff */
head->name_size = 0;
head->text_size = 0;
- head->tag_size =
1
;
+ head->tag_size =
0
;
/* Parse */
while (0 == my_fgets(fp, buf, 1024))