Searched refs:path_tmp (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_sa.c | 553 char path_tmp[1032]; in opensm_dump_to_file() local 560 snprintf(path_tmp, sizeof(path_tmp), "%s.tmp", path); in opensm_dump_to_file() 562 file = fopen(path_tmp, "w"); in opensm_dump_to_file() 566 path_tmp, strerror(errno)); in opensm_dump_to_file() 570 if (chmod(path_tmp, S_IRUSR | S_IWUSR)) { in opensm_dump_to_file() 574 path_tmp, strerror(errno)); in opensm_dump_to_file() 588 strerror(errno), path_tmp); in opensm_dump_to_file() 591 "fileno() failed for %s\n", path_tmp); in opensm_dump_to_file() 595 strerror(errno), path_tmp); in opensm_dump_to_file() 600 status = rename(path_tmp, path); in opensm_dump_to_file() [all …]
|
| H A D | osm_ucast_ftree.c | 1294 char path[1024], path_tmp[1032]; in fabric_dump_hca_ordering() local 1301 snprintf(path_tmp, sizeof(path_tmp), "%s.tmp", path); in fabric_dump_hca_ordering() 1303 p_hca_ordering_file = fopen(path_tmp, "w"); in fabric_dump_hca_ordering() 1306 "cannot open file \'%s\': %s\n", path_tmp, in fabric_dump_hca_ordering() 1350 rename_status = rename(path_tmp, path); in fabric_dump_hca_ordering() 1353 "cannot rename file \'%s\': %s\n", path_tmp, in fabric_dump_hca_ordering()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | fs_fs.c | 2114 const char *path_tmp; in set_node_origins_for_file() local 2155 SVN_ERR(svn_stream_open_unique(&stream, &path_tmp, in set_node_origins_for_file() 2162 return svn_io_file_rename2(path_tmp, node_origins_path, FALSE, pool); in set_node_origins_for_file()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | io.c | 4750 const char *path_tmp; in svn_io_write_version_file() local 4755 SVN_ERR(svn_io_write_unique(&path_tmp, in svn_io_write_version_file() 4767 SVN_ERR(svn_io_file_rename2(path_tmp, path, FALSE, pool)); in svn_io_write_version_file()
|