OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd0db3a
)
In init.c's dir_create() and create_needed_dirs(), expanded internal fixed-size buffe...
author
Eric Branlund
<ebranlund@fastmail.com>
Thu, 20 Feb 2020 13:54:11 +0000
(
05:54
-0800)
committer
Eric Branlund
<ebranlund@fastmail.com>
Thu, 20 Feb 2020 13:54:11 +0000
(
05:54
-0800)
src/init2.c
patch
|
blob
|
history
diff --git
a/src/init2.c
b/src/init2.c
index
8ef3c78
..
54dc88a
100644
(file)
--- a/
src/init2.c
+++ b/
src/init2.c
@@
-207,7
+207,7
@@
bool dir_create(concptr path)
return FALSE;
#else
const char *ptr;
- char buf[
512
];
+ char buf[
1024
];
/* If the directory already exists then we're done */
if (dir_exists(path)) return TRUE;
@@
-267,7
+267,7
@@
bool dir_create(concptr path)
*/
void create_needed_dirs(void)
{
- char dirpath[
512
];
+ char dirpath[
1024
];
path_build(dirpath, sizeof(dirpath), ANGBAND_DIR_USER, "");
if (!dir_create(dirpath)) quit_fmt("Cannot create '%s'", dirpath);