projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhl and mhbuild ignore to long lines
[mmh]
/
sbr
/
makedir.c
diff --git
a/sbr/makedir.c
b/sbr/makedir.c
index
ea39385
..
e87ae57
100644
(file)
--- a/
sbr/makedir.c
+++ b/
sbr/makedir.c
@@
-14,6
+14,7
@@
#include <errno.h>
#include <sys/param.h>
#include <sys/file.h>
#include <errno.h>
#include <sys/param.h>
#include <sys/file.h>
+#include <sys/stat.h>
int
makedir(char *dir)
int
makedir(char *dir)
@@
-22,7
+23,7
@@
makedir(char *dir)
char *cp;
int had_an_error = 0;
mode_t folder_perms, saved_umask;
char *cp;
int had_an_error = 0;
mode_t folder_perms, saved_umask;
- register char* c;
+ char* c;
context_save(); /* save the context file */
fflush(stdout);
context_save(); /* save the context file */
fflush(stdout);