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:
parent
fedbc2b670
commit
b0562fba08
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user