projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac2f5ee
)
LRN: 0001-W32-create-parent-directory-for-a-new-file.patch
author
Christian Grothoff
<christian@grothoff.org>
Fri, 5 Aug 2011 21:16:22 +0000
(21:16 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 5 Aug 2011 21:16:22 +0000
(21:16 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index b53b556e178535beeecbfdea7928ea885314a5ad..31b610fe83262c764cfd0ea1e64fb295aa0e6eb3 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-1369,6
+1369,7
@@
GNUNET_DISK_file_open (const char *fn,
}
else if (flags & GNUNET_DISK_OPEN_CREATE)
{
+ (void) GNUNET_DISK_directory_create_for_file (expfn);
if (flags & GNUNET_DISK_OPEN_TRUNCATE)
disp = CREATE_ALWAYS;
else