Lines Matching defs:new
41 static int substr (char *s, char *old, char *new)
49 if (new)
50 newlen = strlen(new);
62 if (new) {
65 p = new;
164 static char lpath[PATH_MAX], new[PATH_MAX], abspath[PATH_MAX];
213 fix_messy = tidy_path(strcpy(new,lpath));
215 fix_long = shorten_path(new, path);
241 /* now create new, with "../"s followed by tail */
242 np = new;
252 (void) tidy_path(new);
253 if (shorten) (void) shorten_path(new, path);
255 shorten_path(new,path);
261 if (symlink(new, path)) {
266 printf("changed: %s -> %s\n", path, new);