Searched refs:tmp_path (Results 1 – 9 of 9) sorted by relevance
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | edit_file.c | 180 (ep)->tmp_path = concatenate((path), EDIT_FILE_SUFFIX, (char *) 0); \ 186 myfree((ep)->tmp_path); \ 227 if ((ep->tmp_fp = vstream_fopen(ep->tmp_path, flags & ~(O_TRUNC), in edit_file_open() 242 msg_fatal("lock %s: %m", ep->tmp_path); in edit_file_open() 250 msg_fatal("open %s: %m", ep->tmp_path); in edit_file_open() 251 if (stat(ep->tmp_path, &after_lock) < 0 in edit_file_open() 290 if (unlink(ep->tmp_path) < 0 && errno != ENOENT) in edit_file_open() 291 msg_fatal("unlink %s: %m", ep->tmp_path); in edit_file_open() 300 msg_fatal("truncate %s: %m", ep->tmp_path); in edit_file_open() 314 if (unlink(ep->tmp_path) < 0 && errno != ENOENT) in edit_file_cleanup() [all …]
|
| D | dict_cdb.c | 100 char *tmp_path; /* temporary pathname (.tmp) */ member 350 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path); in dict_cdbm_update() 364 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path); in dict_cdbm_update() 383 msg_fatal("finish database %s: %m", dict_cdbm->tmp_path); in dict_cdbm_close() 384 if (rename(dict_cdbm->tmp_path, dict_cdbm->cdb_path) < 0) in dict_cdbm_close() 386 dict_cdbm->tmp_path, dict_cdbm->cdb_path); in dict_cdbm_close() 390 myfree(dict_cdbm->tmp_path); in dict_cdbm_close() 402 char *tmp_path; in dict_cdbm_open() local 413 if (tmp_path) \ in dict_cdbm_open() 414 myfree(tmp_path); \ in dict_cdbm_open() [all …]
|
| D | edit_file.h | 29 char *tmp_path; member
|
| /netbsd/src/external/bsd/pkg_install/dist/lib/ |
| D | remove.c | 77 char tmp_path[PATH_MAX + 1]; in long_remove() local 95 memcpy(tmp_path, path, i); in long_remove() 96 tmp_path[i] = '\0'; in long_remove() 97 if (chdir(tmp_path)) in long_remove()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | socket_wrapper.c | 226 char *tmp_path; member 1465 si->tmp_path = strdup(un_addr.sun_path); in swrap_auto_bind() 1831 if (si->tmp_path) { in swrap_close() 1832 unlink(si->tmp_path); in swrap_close() 1833 free(si->tmp_path); in swrap_close() 1856 if (si_oldd->tmp_path) in dup_internal() 1857 si_newd->tmp_path = strdup(si_oldd->tmp_path); in dup_internal()
|
| /netbsd/src/external/bsd/wpa/dist/src/utils/ |
| D | wpa_debug.c | 151 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local 154 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing() 157 path = tmp_path; in wpa_debug_open_linux_tracing()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/postconf/ |
| D | postconf_edit.c | 222 (void) unlink(ep->tmp_path); in pcf_edit_main() 418 (void) unlink(ep->tmp_path); in pcf_edit_master()
|
| /netbsd/src/external/lgpl3/gmp/dist/ |
| D | configure | 11066 tmp_path= 11070 *) tmp_path="$tmp_path $i" ;; 11073 path="$tmp_path" 11075 tmp_path= 11079 *) tmp_path="$tmp_path $i" ;; 11082 fat_path="$tmp_path" 11137 tmp_path= 11141 *) tmp_path="$tmp_path $i" ;; 11144 path="$tmp_path" 11146 tmp_path= [all …]
|
| D | acinclude.m4 | 117 [tmp_path= 121 *) tmp_path="$tmp_path $i" ;; 124 [$1]="$tmp_path"
|