We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35dc589 + 5a2beac commit 01a2f7aCopy full SHA for 01a2f7a
src/event.c
@@ -31,6 +31,7 @@ OTHER DEALINGS IN THE SOFTWARE.
31
#include "edit.h"
32
#include "util/rnd.h"
33
#include <string.h>
34
+#include <sys/stat.h>
35
#include "snd/cydwave.h"
36
#include "snd/freqs.h"
37
#include "mymsg.h"
@@ -181,7 +182,7 @@ void do_autosave(Uint32* timeout)
181
182
{
183
debug("No autosaves directory found, attempt to create it...");
184
- int check = mkdir(dir_name);
185
+ int check = mkdir(dir_name, S_IRWXU);
186
187
if(!check)
188
src/mused.c
@@ -39,6 +39,7 @@ OTHER DEALINGS IN THE SOFTWARE.
39
#include "diskop.h"
40
#include <stdarg.h>
41
42
+#include <unistd.h>
43
44
extern Mused mused;
45
extern Menu editormenu[];
0 commit comments