12 /* get current executable name by searching the path ... */
13 file1
= util_path_search(prog
);
15 (void) fprintf(stderr
, "cannot locate current executable\n");
19 /* users name for the new executable -- perform tilde-expansion */
20 if (! util_save_image(file1
, file2
)) {
21 (void) fprintf(stderr
, "error occured during save ...\n");
34 (void) printf("restarted ...\n");
38 exit(saveit(argv
[0], "foobar"));