Merge branch 'rs/fix-unlink-unix-socket'
commit6da748a7cebe3911448fabf9426f81c9df9ec54f
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Jul 2014 18:35:59 +0000 (23 11:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Jul 2014 18:36:00 +0000 (23 11:36 -0700)
tree913c572e13be5001f2e78ec6f392ba6f193a795d
parent955d7be808b455cdf2eb60306a690958c3bb49ca
parent2869b3e5dabdd78b336455ad493951badd35279e
Merge branch 'rs/fix-unlink-unix-socket'

The unix-domain socket used by the sample credential cache daemon
tried to unlink an existing stale one at a wrong path, if the path
to the socket was given as an overlong path that does not fit in
sun_path member of the sockaddr_un structure.

* rs/fix-unlink-unix-socket:
  unix-socket: remove stale socket before calling chdir()