Changeset 2859 in MondoRescue for branches/2.2.9/mindi-busybox/modutils
- Timestamp:
- Jul 26, 2011, 1:25:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/modutils/modutils-24.c
r2725 r2859 2475 2475 p = val; 2476 2476 while (*p != 0) { 2477 char sv_ch; 2477 2478 char *endp; 2478 2479 … … 2483 2484 case 's': 2484 2485 len = strcspn(p, ","); 2486 sv_ch = p[len]; 2485 2487 p[len] = 0; 2486 2488 obj_string_patch(f, sym->secidx, … … 2488 2490 loc += tgt_sizeof_char_p; 2489 2491 p += len; 2492 *p = sv_ch; 2490 2493 break; 2491 2494 case 'c': 2492 2495 len = strcspn(p, ","); 2496 sv_ch = p[len]; 2493 2497 p[len] = 0; 2494 2498 if (len >= charssize) … … 2498 2502 loc += charssize; 2499 2503 p += len; 2504 *p = sv_ch; 2500 2505 break; 2501 2506 case 'b':
Note:
See TracChangeset
for help on using the changeset viewer.