/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_cdb.c | 95 char *tmp_path; /* temporary pathname (.tmp) */ member 288 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path); in dict_cdbm_update() 302 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path); in dict_cdbm_update() 321 msg_fatal("finish database %s: %m", dict_cdbm->tmp_path); in dict_cdbm_close() 322 if (rename(dict_cdbm->tmp_path, dict_cdbm->cdb_path) < 0) in dict_cdbm_close() 324 dict_cdbm->tmp_path, dict_cdbm->cdb_path); in dict_cdbm_close() 328 myfree(dict_cdbm->tmp_path); in dict_cdbm_close() 340 char *tmp_path; in dict_cdbm_open() local 351 if (tmp_path) \ in dict_cdbm_open() 352 myfree(tmp_path); \ in dict_cdbm_open() [all …]
|
H A 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 …]
|
H A D | edit_file.h | 29 char *tmp_path; member
|
/netbsd-src/external/mit/libuv/dist/src/unix/ |
H A D | linux-inotify.c | 95 char* tmp_path; in uv__inotify_fork() local 120 tmp_path = uv__strdup(handle->path); in uv__inotify_fork() 121 assert(tmp_path != NULL); in uv__inotify_fork() 127 handle->path = tmp_path; in uv__inotify_fork() 138 tmp_path = handle->path; in uv__inotify_fork() 140 err = uv_fs_event_start(handle, handle->cb, tmp_path, 0); in uv__inotify_fork() 141 uv__free(tmp_path); in uv__inotify_fork()
|
/netbsd-src/external/bsd/pkg_install/dist/lib/ |
H A 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/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cc | 73 char tmp_path[MAX_PATH]; in temp_file_name() local 74 if (!::GetTempFileNameA(tmp_dir, prefix, 0, tmp_path)) in temp_file_name() 76 internal_strncpy(buf, tmp_path, bufsize); in temp_file_name()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A 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/ibm-public/postfix/dist/src/postconf/ |
H A 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/gpl3/binutils.old/dist/gprofng/libcollector/ |
H A D | mmaptrace.c | 471 const char* tmp_path = in dlopen_searchpath_symver() local 475 caller_hndl = (real_dlopen) (tmp_path, noload); in dlopen_searchpath_symver() 477 caller_hndl = CALL_REAL (dlopen)(tmp_path, noload); in dlopen_searchpath_symver()
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | mmaptrace.c | 458 const char* tmp_path = in dlopen_searchpath() local 460 caller_hndl = real_dlopen (tmp_path, noload); in dlopen_searchpath()
|
/netbsd-src/external/lgpl3/gmp/dist/ |
H A 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 …]
|
H A D | acinclude.m4 | 117 [tmp_path= 121 *) tmp_path="$tmp_path $i" ;; 124 [$1]="$tmp_path"
|