I (phk) blundered with the last change. Make it right & better now.

Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
This commit is contained in:
phk 1995-02-24 05:41:24 +00:00
parent fedbc2b670
commit b0562fba08

View File

@ -242,7 +242,7 @@ read_piece(char *input_file)
*s = '_';
mk_piece_name(pname, delta, pce, npieces);
sprintf(tname,"tmp.%s",pname);
sprintf(tname,"%s.%d.tmp",pname,getpid());
if ((ofp = fopen(tname, "w")) == NULL)
{
err("cannot open '%s' for writing", tname);