Skip to content

process: Close a window where no authority file would exist

Adam Jackson requested to merge ajax/xauth:rename-fix into master

unlink()ing the old auth file before link()ing the temp to the new is just silly. rename() is atomic and will happily clobber the destination, and the only thing link() can give you here is the ability to fail on filesystems that don't support hardlinks.

Fixes: #2 (closed)

Merge request reports