Lines Matching defs:edit
443 char *edit, *dir;
449 edit = dir = xstrdup (filename);
453 edit = dir = xmalloc (strlen (filename) + 3);
458 edit += strlen (dir);
459 while (edit > dir && (edit[-1] != '\\' && edit[-1] != '/'))
461 --edit;
462 edit[0] = 0;
466 --edit;
467 edit[0] = 0;
470 while ((edit = strchr (dir, '\\')) != NULL)
471 *edit = '/';