Home
last modified time | relevance | path

Searched refs:tmpfilenam (Results 1 – 8 of 8) sorted by relevance

/dports/mail/mmh/mmh-0.4/uip/
H A Drcvstore.c51 static char *tmpfilenam = NULL; variable
178 tmpfilenam = m_mktemp(invo_name, &fd, NULL); in main()
179 if (tmpfilenam == NULL) { in main()
182 chmod(tmpfilenam, m_gmprot()); in main()
185 fix_mbox(fd, tmpfilenam); in main()
191 unlink(tmpfilenam); in main()
195 adios(EX_IOERR, tmpfilenam, "error closing"); in main()
199 unlink(tmpfilenam); in main()
233 tmpfilenam = NULL; in main()
273 if (tmpfilenam && *tmpfilenam) { in unlink_done()
[all …]
H A Dmhstore.c785 char *tmpfilenam, *folder; in store_content() local
788 tmpfilenam = m_mktemp(invo_name, NULL, NULL); in store_content()
789 ct->c_storage = mh_xstrdup(tmpfilenam); in store_content()
/dports/mail/nmh/nmh-1.7.1/uip/
H A Drcvstore.c42 static char *tmpfilenam = NULL; variable
161 tmpfilenam = m_mktemp (invo_name, &fd, NULL); in main()
162 if (tmpfilenam == NULL) { in main()
165 chmod (tmpfilenam, m_gmprot()); in main()
171 (void) m_unlink (tmpfilenam); in main()
172 adios (tmpfilenam, "unable to fstat"); in main()
175 adios (tmpfilenam, "error closing"); in main()
179 (void) m_unlink (tmpfilenam); in main()
218 tmpfilenam = NULL; in main()
230 if (tmpfilenam && *tmpfilenam) in unlink_done()
[all …]
H A Dmhstoresbr.c569 char *tmpfilenam, *folder; in store_content() local
572 if ((tmpfilenam = m_mktemp(invo_name, NULL, NULL)) == NULL) { in store_content()
576 ct->c_storage = mh_xstrdup(tmpfilenam); in store_content()
/dports/lang/perl5.34/perl-5.34.0/t/op/
H A Dcoreamp.t821 my $tmpfilenam = catfile $dir, 'aaa';
822 open my $fh, ">", $tmpfilenam or die "cannot open $tmpfilenam: $!";
823 close $fh or die "cannot close $tmpfilenam: $!";
824 &myrename("$tmpfilenam", $tmpfilenam = catfile $dir,'bbb');
825 ok open(my $fh, '>', $tmpfilenam), '&rename';
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/t/op/
H A Dcoreamp.t821 my $tmpfilenam = catfile $dir, 'aaa';
822 open my $fh, ">", $tmpfilenam or die "cannot open $tmpfilenam: $!";
823 close $fh or die "cannot close $tmpfilenam: $!";
824 &myrename("$tmpfilenam", $tmpfilenam = catfile $dir,'bbb');
825 ok open(my $fh, '>', $tmpfilenam), '&rename';
/dports/lang/perl5.30/perl-5.30.3/t/op/
H A Dcoreamp.t820 my $tmpfilenam = catfile $dir, 'aaa';
821 open my $fh, ">", $tmpfilenam or die "cannot open $tmpfilenam: $!";
822 close $fh or die "cannot close $tmpfilenam: $!";
823 &myrename("$tmpfilenam", $tmpfilenam = catfile $dir,'bbb');
824 ok open(my $fh, '>', $tmpfilenam), '&rename';
/dports/lang/perl5.32/perl-5.32.1/t/op/
H A Dcoreamp.t820 my $tmpfilenam = catfile $dir, 'aaa';
821 open my $fh, ">", $tmpfilenam or die "cannot open $tmpfilenam: $!";
822 close $fh or die "cannot close $tmpfilenam: $!";
823 &myrename("$tmpfilenam", $tmpfilenam = catfile $dir,'bbb');
824 ok open(my $fh, '>', $tmpfilenam), '&rename';