Searched refs:tmp_path (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dedit_file.c13 /* char *tmp_path; /* temp. pathname */
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),
242 msg_fatal("lock %s: %m", ep->tmp_path);
250 msg_fatal("open %s: %m", ep->tmp_path);
251 if (stat(ep->tmp_path, &after_lock) < 0
290 if (unlink(ep->tmp_path) < 0 && errno != ENOENT)
291 msg_fatal("unlink %s: %m", ep->tmp_path);
300 msg_fatal("truncate %s: %m", ep->tmp_path);
[all...]
H A Dedit_file.h29 char *tmp_path; member in struct:__anon124
H A Ddict_cdb.c95 char *tmp_path; /* temporary pathname (.tmp) */ member in struct:__anon77
288 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path);
302 msg_fatal("error writing %s: %m", dict_cdbm->tmp_path);
321 msg_fatal("finish database %s: %m", dict_cdbm->tmp_path);
322 if (rename(dict_cdbm->tmp_path, dict_cdbm->cdb_path) < 0)
324 dict_cdbm->tmp_path, dict_cdbm->cdb_path);
328 myfree(dict_cdbm->tmp_path);
340 char *tmp_path; local
351 if (tmp_path) \
352 myfree(tmp_path); \
[all...]
/netbsd-current/external/bsd/pkg_install/dist/lib/
H A Dremove.c77 char tmp_path[PATH_MAX + 1]; local
95 memcpy(tmp_path, path, i);
96 tmp_path[i] = '\0';
97 if (chdir(tmp_path))
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dlinux-inotify.c95 char* tmp_path; local
120 tmp_path = uv__strdup(handle->path);
121 assert(tmp_path != NULL);
127 handle->path = tmp_path;
138 tmp_path = handle->path;
140 err = uv_fs_event_start(handle, handle->cb, tmp_path, 0);
141 uv__free(tmp_path);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc73 char tmp_path[MAX_PATH]; local
74 if (!::GetTempFileNameA(tmp_dir, prefix, 0, tmp_path))
76 internal_strncpy(buf, tmp_path, bufsize);
/netbsd-current/external/bsd/wpa/dist/src/utils/
H A Dwpa_debug.c151 char *tmp2, *tmp_path, *fstype; local
154 tmp_path = strtok_r(NULL, " ", &tmp2);
157 path = tmp_path;
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsocket_wrapper.c226 char *tmp_path; member in struct:socket_info
1465 si->tmp_path = strdup(un_addr.sun_path);
1831 if (si->tmp_path) {
1832 unlink(si->tmp_path);
1833 free(si->tmp_path);
1856 if (si_oldd->tmp_path)
1857 si_newd->tmp_path = strdup(si_oldd->tmp_path);
/netbsd-current/external/ibm-public/postfix/dist/src/postconf/
H A Dpostconf_edit.c222 (void) unlink(ep->tmp_path);
418 (void) unlink(ep->tmp_path);
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dmmaptrace.c471 const char* tmp_path = local
475 caller_hndl = (real_dlopen) (tmp_path, noload);
477 caller_hndl = CALL_REAL (dlopen)(tmp_path, noload);
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dmmaptrace.c471 const char* tmp_path = local
475 caller_hndl = (real_dlopen) (tmp_path, noload);
477 caller_hndl = CALL_REAL (dlopen)(tmp_path, noload);
/netbsd-current/external/lgpl3/gmp/dist/
H A Dconfigure11066 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
[all...]

Completed in 385 milliseconds