Parent Directory | Revision Log | Patch
revision 1.15 by okuji, Mon May 20 09:45:33 2002 UTC | revision 1.16 by okuji, Mon May 20 11:48:03 2002 UTC | |
---|---|---|
# | Line 454 read_device_map (FILE *fp, char **map, c | Line 454 read_device_map (FILE *fp, char **map, c |
454 | while (*eptr && ! isspace (*eptr)) | while (*eptr && ! isspace (*eptr)) |
455 | eptr++; | eptr++; |
456 | *eptr = 0; | *eptr = 0; |
457 | ||
458 | /* Multiple entries for a given drive is not allowed. */ | |
459 | if (map[drive]) | |
460 | { | |
461 | show_error (line_number, "Duplicated entry found"); | |
462 | return 0; | |
463 | } | |
464 | ||
465 | map[drive] = strdup (ptr); | map[drive] = strdup (ptr); |
466 | assert (map[drive]); | assert (map[drive]); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |