git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t0300-credentials: poll failed: invalid argument
@ 2011-08-28  4:40 Brian Gernhardt
  2011-08-29 17:14 ` Jeff King
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Gernhardt @ 2011-08-28  4:40 UTC (permalink / raw)
  To: Git List

The only usage of poll I see in the credentials system is:

credentials-cache--daemon.c
177:	if (poll(&pfd, 1, 1000 * wakeup) < 0) {

My guess is that (1000 * wakeup) is more than INT_MAX and is becoming negative as the man page for poll seems to indicate that it will fail if timeout < -1.

Does anyone familiar with the credentials daemon want to try to figure out a reasonable fix?

~~ Brian

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-09-14 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-28  4:40 t0300-credentials: poll failed: invalid argument Brian Gernhardt
2011-08-29 17:14 ` Jeff King
2011-08-29 17:28   ` Brian Gernhardt
2011-08-29 17:43     ` Jeff King
2011-09-09 14:13       ` Thomas Rast
2011-09-14  8:15         ` Thomas Rast
2011-09-14 14:24           ` Brian Gernhardt
2011-09-14 14:49             ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).