Changeset 1917 in MondoRescue for branches/2.2.6/mondo/src/common/libmondo-tools.c
- Timestamp:
- Apr 17, 2008, 1:29:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/common/libmondo-tools.c
r1855 r1917 180 180 #include "libmondo-fork-EXT.h" 181 181 #include "libmondo-raid-EXT.h" 182 #include "libmondo-devices-EXT.h" 182 183 #include <sys/socket.h> 183 184 #include <netdb.h> … … 244 245 245 246 extern bool am_I_in_disaster_recovery_mode(void); 247 248 /* Return a string containing the date */ 249 char *mr_date(void) { 250 251 time_t tcurr; 252 253 tcurr = time(NULL); 254 return(ctime(&tcurr)); 255 } 256 257 /*-----------------------------------------------------------*/ 246 258 247 259 … … 1001 1013 memset((void *) bkpinfo, 0, sizeof(struct s_bkpinfo)); 1002 1014 1003 /* special case for tmpdir as used eveywhere after */ 1004 setup_tmpdir(NULL); 1015 sensibly_set_tmpdir_and_scratchdir(); 1005 1016 1006 1017 bkpinfo->manual_cd_tray = FALSE; … … 1030 1041 strcpy(bkpinfo->prefix, STD_PREFIX); 1031 1042 1032 bkpinfo->scratchdir[0] = '\0';1033 1043 bkpinfo->make_filelist = TRUE; // unless -J supplied to mondoarchive 1034 1044 bkpinfo->optimal_set_size = 0;
Note:
See TracChangeset
for help on using the changeset viewer.