git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* possible code error at run_command.c
@ 2009-12-21  6:46 Frank Li
  2009-12-21  7:09 ` Wincent Colaiuta
  2009-12-21  7:18 ` Johannes Sixt
  0 siblings, 2 replies; 11+ messages in thread
From: Frank Li @ 2009-12-21  6:46 UTC (permalink / raw)
  To: git

int start_command(struct child_process *cmd)
{
	int need_in, need_out, need_err;
	int fdin[2], fdout[2], fderr[2];
	int failed_errno = failed_errno;

I have not found failed_errno as global variable.
failed_errno = failed_errno means nothing.

It is possible coding error and should be
int failed_errno= 0 or
failed_errno=errno.

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

end of thread, other threads:[~2009-12-21  9:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21  6:46 possible code error at run_command.c Frank Li
2009-12-21  7:09 ` Wincent Colaiuta
2009-12-21  7:18 ` Johannes Sixt
2009-12-21  7:29   ` Frank Li
2009-12-21  7:43     ` Johannes Sixt
2009-12-21  8:18       ` Frank Li
2009-12-21  8:30         ` Johannes Sixt
2009-12-21  8:41           ` Erik Faye-Lund
2009-12-21  8:52             ` Johannes Sixt
2009-12-21  9:08               ` Erik Faye-Lund
2009-12-21  9:13               ` Frank Li

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).