Re: [PATCH 0/3] index-helper: fix UNIX_PATH_MAX redefinition error on cygwin
- From
Jeff King <peff@peff.net>
- Date
- Apr 11, 2016, 13:33 UTC
- Message-ID
- <20160411133343.GA7492@sigill.intra.peff.net>
- In-Reply-To
- <570ADA5B.5030408@ramsayjones.plus.com>
On Sun, Apr 10, 2016 at 11:57:31PM +0100, Ramsay Jones wrote:
> So, the approach taken by patch #1 is to forget about UNIX_PATH_MAX and > simply use sizeof(address.sun_path) instead!
That's what the existing code in unix-socket.c does. Which makes me wonder why the index-helper code is not simply calling that.
-Peff