Changeset 2506 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-tools.c
- Timestamp:
- Jan 4, 2010, 11:31:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-tools.c
r2475 r2506 586 586 mr_asprintf(iso_path, "%s", ""); 587 587 } else { 588 mr_asprintf(iso_path, "%s", iso_tmp + strlen(iso_mnt)); 588 // If iso_mnt is only / then iso_path is the full dir 589 // (the formula bellow doesn't work in this case) 590 if (strcmp(iso_mnt, "/") == 0) { 591 mr_asprintf(iso_path, "%s", iso_tmp); 592 // else it's a part of iso_tmp 593 } else { 594 mr_asprintf(iso_path, "%s", iso_tmp + strlen(iso_mnt)); 595 } 589 596 } 590 597 mr_free(iso_mnt);
Note:
See TracChangeset
for help on using the changeset viewer.