From: Thomas Rast Date: Thu, 15 Sep 2011 08:37:11 GMT Subject: Re: [PATCH 2/5] credential-cache: fix expiration calculation corner cases Message-ID: <201109151037.12248.trast@student.ethz.ch> In-Reply-To: <20110914191757.GB28267@sigill.intra.peff.net> Jeff King wrote: > However, there is a corner case: when we first start up, we > have no credentials, and are waiting for a client to > provide us with one. In this case, we ended up handing > complete junk for the timeout argument to poll(). On some > systems, this caused us to just wait a long time for the > client (which usually showed up within a second or so). On > OS X, however, the system quite reasonably complained about > our junk value with EINVAL. Tested, works now. Thanks! -- Thomas Rast trast@{inf,student}.ethz.ch