commit 0ec8122582ee801fcad88a64645df397d28bc8d6
parent 4a650ec06feada62f855dd8e04b2a0758c6a8b47
Author: Michael Savage <mikejsavage@gmail.com>
Date: Mon, 30 Oct 2017 21:04:21 +0200
Comments
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/launcher/main.cc b/launcher/main.cc
@@ -245,6 +245,9 @@ static void recursive_mkdir(
const std::string & path
) {
std::string cur;
+ // TODO: might need to look for \ too
+ // TODO: this assumes you pass in a full file name...
+ // TODO: error checking
for( array< array< const char > > matches : gmatch( path.c_str(), "([^/]+)/" ) ) {
cur.append( matches[ 0 ].ptr(), matches[ 0 ].n );
cur += '/';