credential-cache--daemon: use tempfile module
commit9e9033166b3a6b34aad917891b9210fa194fdfd9
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 10 Aug 2015 09:47:51 +0000 (10 11:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Aug 2015 21:50:11 +0000 (12 14:50 -0700)
tree596cc0fa5f6961da559da1ec320eccbc3c8e6419
parent18a3de4214668b5b82561ec096f7ef6858d25555
credential-cache--daemon: use tempfile module

Use the tempfile module to ensure that the socket file gets deleted on
program exit.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential-cache--daemon.c