/dports/net/jwhois/jwhois-4.0/src/ |
H A D | http.c | 177 char tmpfilename[FILENAME_MAX]; in http_query() local 184 snprintf(tmpfilename, FILENAME_MAX, "%s/jwhoisXXXXXX", tmpdir); in http_query() 188 strcpy(tmpfilename, "/tmp/jwhoisXXXXXX"); in http_query() 192 fd = mkstemp(tmpfilename); in http_query() 218 command[i ++] = post_file = strdup(tmpfilename); in http_query()
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/lp/ |
H A D | lpdsend.c | 16 char tmpfilename[L_tmpnam+1]; variable 24 unlink(tmpfilename); in cleanup() 367 tmpnam(tmpfilename); in main() 369 if ((inputfd = create(tmpfilename, ORDWR, 0600)) < 0) { in main() 370 fprintf(stderr, "open(%s) failed\n", tmpfilename); in main() 375 debug(tmpfilename); in main()
|
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/ |
H A D | test_policy.py | 42 tmpfilename = os.path.join(tmpdir, 'policy') 43 self.fixture.config(policy_file=tmpfilename, group='oslo_policy') 50 with open(tmpfilename, "w") as policyfile: 53 with open(tmpfilename, "w") as policyfile:
|
/dports/audio/mp3gain/mp3gain-1.6.2/ |
H A D | id3tag.c | 1183 char *tmpfilename; in WriteMP3GainID3Tag() local 1321 strcpy(tmpfilename, filename); in WriteMP3GainID3Tag() 1322 strcat(tmpfilename, ".TMP"); in WriteMP3GainID3Tag() 1323 outf = fopen(tmpfilename, "wb"); in WriteMP3GainID3Tag() 1327 free(tmpfilename); in WriteMP3GainID3Tag() 1364 remove(tmpfilename); in WriteMP3GainID3Tag() 1365 free(tmpfilename); in WriteMP3GainID3Tag() 1380 free(tmpfilename); in WriteMP3GainID3Tag() 1385 if (rename(tmpfilename, filename)) { in WriteMP3GainID3Tag() 1386 remove(tmpfilename); in WriteMP3GainID3Tag() [all …]
|
/dports/news/husky-areafix/husky-areafix-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky/husky-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-htick/husky-htick-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/news/husky-hpt/husky-hpt-1.9.20191207/nltools/src/ |
H A D | nlupdate.c | 151 char *tmpfilename = NULL; in uncompress() local 157 xstrscat( &tmpfilename, directory, filename, NULL ); in uncompress() 160 f = fopen( tmpfilename, "rb" ); in uncompress() 163 w_log( LL_ERROR, "Cannot access %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 173 w_log( LL_ERROR, "Seek error on %s: %s", tmpfilename, strerror( errno ) ); in uncompress() 189 w_log( LL_ERROR, "Did not find an appropriate unpacker for %s", tmpfilename ); in uncompress() 190 nfree( tmpfilename ); in uncompress() 196 fillCmdStatement( cmd, config->unpack[i].call, tmpfilename, "", tempdir ); in uncompress() 205 exitcode = UnPackWithZlib( tmpfilename, NULL, tempdir ); in uncompress() 216 nfree( tmpfilename ); in uncompress() [all …]
|
/dports/security/putty-nogtk/putty-0.76/unix/ |
H A D | uxstore.c | 683 char *filename, *tmpfilename; in store_host_key() local 688 tmpfilename = make_filename(INDEX_HOSTKEYS_TMP, NULL); in store_host_key() 689 wfp = fopen(tmpfilename, "w"); in store_host_key() 698 sfree(tmpfilename); in store_host_key() 703 wfp = fopen(tmpfilename, "w"); in store_host_key() 707 "returned '%s'", tmpfilename, strerror(errno)); in store_host_key() 708 sfree(tmpfilename); in store_host_key() 737 if (rename(tmpfilename, filename) < 0) { in store_host_key() 739 " returned '%s'", tmpfilename, filename, in store_host_key() 743 sfree(tmpfilename); in store_host_key()
|
/dports/security/putty/putty-0.76/unix/ |
H A D | uxstore.c | 683 char *filename, *tmpfilename; in store_host_key() local 688 tmpfilename = make_filename(INDEX_HOSTKEYS_TMP, NULL); in store_host_key() 689 wfp = fopen(tmpfilename, "w"); in store_host_key() 698 sfree(tmpfilename); in store_host_key() 703 wfp = fopen(tmpfilename, "w"); in store_host_key() 707 "returned '%s'", tmpfilename, strerror(errno)); in store_host_key() 708 sfree(tmpfilename); in store_host_key() 737 if (rename(tmpfilename, filename) < 0) { in store_host_key() 739 " returned '%s'", tmpfilename, filename, in store_host_key() 743 sfree(tmpfilename); in store_host_key()
|
/dports/ftp/filezilla/filezilla-3.55.1/src/putty/unix/ |
H A D | uxstore.c | 692 char *filename, *tmpfilename; in store_host_key() local 697 tmpfilename = make_filename(INDEX_HOSTKEYS_TMP, NULL); in store_host_key() 698 wfp = fopen(tmpfilename, "w"); in store_host_key() 707 sfree(tmpfilename); in store_host_key() 712 wfp = fopen(tmpfilename, "w"); in store_host_key() 716 "returned '%s'", tmpfilename, strerror(errno)); in store_host_key() 717 sfree(tmpfilename); in store_host_key() 746 if (rename(tmpfilename, filename) < 0) { in store_host_key() 748 " returned '%s'", tmpfilename, filename, in store_host_key() 752 sfree(tmpfilename); in store_host_key()
|
/dports/astro/oskar/OSKAR-2.8.0/extern/cfitsio/ |
H A D | drvrfile.c | 764 char tmpfilename[FLEN_FILENAME]; in file_is_compressed() local 772 strcpy(tmpfilename,filename); in file_is_compressed() 777 strcpy(filename,tmpfilename); in file_is_compressed() 782 strcpy(filename, tmpfilename); in file_is_compressed() 786 strcpy(filename, tmpfilename); in file_is_compressed() 790 strcpy(filename, tmpfilename); in file_is_compressed() 794 strcpy(filename, tmpfilename); in file_is_compressed() 798 strcpy(filename, tmpfilename); in file_is_compressed() 802 strcpy(filename,tmpfilename); /* restore original name */ in file_is_compressed()
|
/dports/astro/cfitsio/cfitsio-3.49/ |
H A D | drvrfile.c | 764 char tmpfilename[FLEN_FILENAME]; in file_is_compressed() local 772 strcpy(tmpfilename,filename); in file_is_compressed() 777 strcpy(filename,tmpfilename); in file_is_compressed() 782 strcpy(filename, tmpfilename); in file_is_compressed() 786 strcpy(filename, tmpfilename); in file_is_compressed() 790 strcpy(filename, tmpfilename); in file_is_compressed() 794 strcpy(filename, tmpfilename); in file_is_compressed() 798 strcpy(filename, tmpfilename); in file_is_compressed() 802 strcpy(filename,tmpfilename); /* restore original name */ in file_is_compressed()
|
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/ |
H A D | drvrfile.c | 764 char tmpfilename[FLEN_FILENAME]; in file_is_compressed() local 772 strcpy(tmpfilename,filename); in file_is_compressed() 777 strcpy(filename,tmpfilename); in file_is_compressed() 782 strcpy(filename, tmpfilename); in file_is_compressed() 786 strcpy(filename, tmpfilename); in file_is_compressed() 790 strcpy(filename, tmpfilename); in file_is_compressed() 794 strcpy(filename, tmpfilename); in file_is_compressed() 798 strcpy(filename, tmpfilename); in file_is_compressed() 802 strcpy(filename,tmpfilename); /* restore original name */ in file_is_compressed()
|
/dports/net/liferea/liferea-1.12.7/src/ |
H A D | update.c | 286 char *tmpfilename; in update_exec_filter_cmd() local 291 tmpfilename = g_build_filename (tmpdir, "liferea-XXXXXX", NULL); in update_exec_filter_cmd() 293 fd = g_mkstemp(tmpfilename); in update_exec_filter_cmd() 296 debug1(DEBUG_UPDATE, "Error opening temp file %s to use for filtering!", tmpfilename); in update_exec_filter_cmd() 297 …*errorOutput = g_strdup_printf(_("Error opening temp file %s to use for filtering!"), tmpfilename); in update_exec_filter_cmd() 298 g_free(tmpfilename); in update_exec_filter_cmd() 307 command = g_strdup_printf("%s < %s", cmd, tmpfilename); in update_exec_filter_cmd() 330 unlink (tmpfilename); in update_exec_filter_cmd() 331 g_free (tmpfilename); in update_exec_filter_cmd()
|
/dports/www/yt-dlp/yt-dlp-2021.12.27/yt_dlp/downloader/ |
H A D | fragment.py | 184 tmpfilename = self.temp_name(ctx['filename']) 189 if os.path.isfile(encodeFilename(tmpfilename)): 191 resume_len = os.path.getsize(encodeFilename(tmpfilename)) 195 'tmpfilename': tmpfilename, 218 dest_stream, tmpfilename = self.sanitize_open(tmpfilename, open_mode) 223 'tmpfilename': tmpfilename, 342 tmpfilename = self.temp_name(ctx['filename']) 346 'tmpfilename': tmpfilename,
|
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/mkdep/ |
H A D | mkdep.c | 106 static char tmpfilename[MAXPATHLEN]; in run_cc() local 128 (void)snprintf(tmpfilename, sizeof (tmpfilename), "%s/%s", tmpdir, in run_cc() 130 if ((tmpfd = mkstemp(tmpfilename)) < 0) in run_cc() 132 tmpfilename); in run_cc() 133 (void)unlink(tmpfilename); in run_cc() 134 *fname = tmpfilename; in run_cc()
|
/dports/devel/bmkdep/bmkdep-20140112/ |
H A D | mkdep.c | 120 static char tmpfilename[MAXPATHLEN]; in run_cc() local 142 (void)snprintf(tmpfilename, sizeof (tmpfilename), "%s/%s", tmpdir, in run_cc() 144 if ((tmpfd = mkstemp(tmpfilename)) < 0) in run_cc() 146 tmpfilename); in run_cc() 147 (void)unlink(tmpfilename); in run_cc() 148 *fname = tmpfilename; in run_cc()
|
/dports/devel/boost-docs/boost_1_72_0/libs/spirit/classic/test/ |
H A D | bug_fixes.cpp | 311 const char* tmpfilename = "sf_bug_742038.tmp"; in sf_bug_742038() local 320 std::fstream f(tmpfilename, std::ios::out); in sf_bug_742038() 324 file_iterator<> b1(tmpfilename); in sf_bug_742038() 329 std::remove(tmpfilename); in sf_bug_742038()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/spirit/classic/test/ |
H A D | bug_fixes.cpp | 311 const char* tmpfilename = "sf_bug_742038.tmp"; in sf_bug_742038() local 320 std::fstream f(tmpfilename, std::ios::out); in sf_bug_742038() 324 file_iterator<> b1(tmpfilename); in sf_bug_742038() 329 std::remove(tmpfilename); in sf_bug_742038()
|
/dports/databases/xtrabackup/boost_1_59_0/libs/spirit/classic/test/ |
H A D | bug_fixes.cpp | 313 const char* tmpfilename = "sf_bug_742038.tmp"; in sf_bug_742038() local 321 std::fstream f(tmpfilename, std::ios::out); in sf_bug_742038() 325 file_iterator<> b1(tmpfilename); in sf_bug_742038() 329 ::remove(tmpfilename); in sf_bug_742038()
|