From 8452a81edb2ff3aff55b15f064d41ecf34c01faa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 Aug 2011 21:16:22 +0000 Subject: [PATCH] LRN: 0001-W32-create-parent-directory-for-a-new-file.patch --- src/util/disk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/disk.c b/src/util/disk.c index b53b556e1..31b610fe8 100644 --- 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 -- 2.25.1