]> git.eshelyaron.com Git - emacs.git/commit
Fix flymake-proc temporary file deletion bug
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 28 Aug 2019 19:00:00 +0000 (21:00 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 7 Sep 2019 20:51:24 +0000 (16:51 -0400)
commit8d588f09e91e315c715cf824a9819a538a85cd9c
treef21f366b2b5517a3b706c8ab7689b885b08dcd03
parent14875443ff03d3c2b9cc63479e672957f99b730a
Fix flymake-proc temporary file deletion bug

* list/progmodes/flymake-proc.el (flymake-proc-create-temp-inplace):
Include a time string part (hour + minute + second + nanosecond) in
the temporary name to make it unique enough.
(flymake-proc-legacy-flymake): Store temporary file names in the
process for usage in the sentinel.
(flymake-proc--process-sentinel): Bind values of temporary file names
dynamically to values stored in the process so that the cleanup
function will delete the correct temporary file(s).

Fixes bug#31981.
lisp/progmodes/flymake-proc.el