Changeset 2972 in MondoRescue for branches/3.0/mondo/src/common
- Timestamp:
- Mar 27, 2012, 2:48:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-filelist.c
r2970 r2972 1337 1337 char *skip_these; 1338 1338 char *new_with_pipe; 1339 char *strtmp ;1340 char *token ;1339 char *strtmp = NULL; 1340 char *token = NULL; 1341 1341 char *find_excludes = NULL; 1342 1342 static char *name_of_evalcall_form; … … 1366 1366 malloc_string(name_of_evalcall_form); 1367 1367 malloc_string(find_skeleton_marker); 1368 while((token = mr_strtok(sth, delims, &lastpos))) { 1369 mr_asprintf(&strtmp,"%s", find_excludes); 1370 paranoid_free(find_excludes); 1371 mr_asprintf(&find_excludes,"%s -path %s -prune -o", strtmp, token); 1372 paranoid_free(strtmp); 1368 while((token = mr_strtok(sth, delims, &lastpos)) != NULL) { 1369 mr_strcat(find_excludes," -path %s -prune -o", token); 1373 1370 mr_free(token); 1374 1371 }
Note:
See TracChangeset
for help on using the changeset viewer.