Date:2015-04-26 20:53:14 (8 years 5 months ago)
Author:Maarten ter Huurne
Commit:73ceffa51d3450d2d20ce933e7fc6da187e09fc8
Message:Fix bug in section directory creation method

The child directory (the one bearing the section name) was never
created; instead the parent directory (named "sections") was created
twice.
Files: src/menu.cpp (1 diff)

Change Details

src/menu.cpp
131131    }
132132
133133    string childDir = parentDir + "/" + sectionName;
134    if (mkdir(parentDir.c_str(), 0755) && errno != EEXIST) {
134    if (mkdir(childDir.c_str(), 0755) && errno != EEXIST) {
135135        WARNING("Failed to create child section dir: %s\n", strerror(errno));
136136        return "";
137137    }

Archive Download the corresponding diff file



interactive