tags 538715 patch thanks looks like it was some codepath in the xtmpfile() from src/util.c that when it created a tempfile with mkstemp did not unlink the tmpfile before returnning the filehandle.
since this function never returns the filename to the caller, i assume
it's okay to unlink the file.
patch attached.
sean
--- patchutils-0.3.1.orig/src/util.c +++ patchutils-0.3.1/src/util.c @@ -111,6 +111,7 @@ ret = fdopen (fd, "w+b"); if (ret == NULL) error (EXIT_FAILURE, errno, "fdopen"); + unlink(tmpfname); return ret; }
signature.asc
Description: Digital signature

