git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: t0300-credentials: poll failed: invalid argument

From
Thomas Rast <trast@student.ethz.ch>
Date
Sep 9, 2011, 14:13 UTC
Message-ID
<201109091613.13137.trast@student.ethz.ch>
In-Reply-To
<20110829174309.GA11524@sigill.intra.peff.net>
Jeff King wrote:
Show 12 quoted lines
> On Mon, Aug 29, 2011 at 01:28:05PM -0400, Brian Gernhardt wrote:
> 
> > > Ugh, sorry, this is my fault. The check_expiration() function can return
> > > a totally bogus value before we actually get any credentials.
> > > 
> > > Does this patch fix it for you?
> > 
> > Yes it does!  Surprisingly enough, non-bogus parameters keeps poll
> > from erroring with EINVAL.  Funny that.  ;-)
> 
> Great. I'm working on a few more patches on top of that topic, so I'll
> add it to my list to send out in the next day or so.

I'm still seeing this with current pu (from repo.or.cz), but only on OS X

  $ uname -a
  Darwin mackeller.inf.ethz.ch 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
Where "this" is:
  --- expect-stderr       2011-09-09 14:12:13.000000000 +0000
  +++ stderr      2011-09-09 14:12:13.000000000 +0000
  @@ -1,2 +1,3 @@
   askpass: Username:
   askpass: Password:
  +fatal: poll failed: Invalid argument
for each of the tests 15--19.  Is it supposed to be fixed?

I don't have time to look into it without knowing what to search for, but if you want me to test anything on that OS X just ask.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jeff KingNext: Thomas Rast
Message 5 of 8 in “t0300-credentials: poll failed: invalid argument”
  1. Brian GernhardtAug 28, 2011
  2. Jeff KingAug 29, 2011
  3. Brian GernhardtAug 29, 2011
  4. Jeff KingAug 29, 2011
  5. Thomas RastSep 9, 2011
  6. Thomas RastSep 14, 2011
  7. Brian GernhardtSep 14, 2011
  8. Jeff KingSep 14, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.