Lines Matching defs:fromfile
87 char fromfile[MAXNAMLEN + 1];
99 (void) strcpy(fromfile, from);
100 (void) strcat(fromfile, dbm_pag);
104 if (rename(fromfile, tofile)) {
105 logprintf2("Can't mv %s to %s.\n", fromfile,
111 (void) strcpy(fromfile, from);
112 (void) strcat(fromfile, dbm_dir);
116 if (rename(fromfile, tofile)) {
117 logprintf2("Can't mv %s to %s.\n", fromfile,
119 (void) strcpy(fromfile, from);
120 (void) strcat(fromfile, dbm_pag);
124 if (rename(tofile, fromfile)) {
155 char fromfile[MAXNAMLEN + 1];
166 (void) strcpy(fromfile, name);
167 (void) strcat(fromfile, dbm_pag);
169 if (unlink(fromfile)) {
170 logprintf2("Can't unlink %s.\n", fromfile);
174 (void) strcpy(fromfile, name);
175 (void) strcat(fromfile, dbm_dir);
177 if (unlink(fromfile)) {
178 logprintf2("Can't unlink %s.\n", fromfile);