Changeset 1100 in MondoRescue for branches/stable/mondo/src/mondoarchive/main.c
- Timestamp:
- Feb 5, 2007, 5:00:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondoarchive/main.c
r1087 r1100 11 11 /************************* #include statements *************************/ 12 12 #include <pthread.h> 13 //#include <config.h>14 //#include "../../config.h"15 13 #include <stdio.h> 16 14 #include <stdlib.h> 15 #include <sys/types.h> 16 #include <sys/stat.h> 17 #include <unistd.h> 18 17 19 #include "my-stuff.h" 18 20 #include "../common/mondostructures.h" … … 152 154 { 153 155 struct s_bkpinfo *bkpinfo; 156 struct stat stbuf; 154 157 char *tmp; 155 158 int res, retval; … … 202 205 setenv("ARCH", tmp, 1); 203 206 204 /* Add MONDO_SHARE environment variable for mindi */207 /* Add MONDO_SHARE + others environment variable for mindi */ 205 208 setenv_mondo_share(); 209 210 if (stat(MONDO_CACHE, &stbuf) != 0) { 211 mr_mkdir(MONDO_CACHE,0x755); 212 } 206 213 207 214 /* Configure the bkpinfo structure, global file paths, etc. */
Note:
See TracChangeset
for help on using the changeset viewer.