Re: [PATCH 1/5] Change git_connect() to return a struct child_process instead of a pid_t.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Johannes Sixt <johannes.sixt@...>, <git@...>
Date: Monday, October 1, 2007 - 5:08 am

Junio C Hamano schrieb:

Sure: The die()s are converted in a later step.

My problem is that if I don't wrap the non-fork connections somehow in this 
first round, I *must* remove the error checks because there is no unique 
failure return value anymore.


Did you mean: "even if we don't have a child process"?

How about a typedef if you dislike the name?


Seriously? Add an *out* parameter when we can get rid of one and have a 
return value, too?

-- Hannes

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/5] Change git_connect() to return a struct chil..., Johannes Sixt, (Mon Oct 1, 5:08 am)
[PATCH 0/5, resend] fork/exec removal series, Johannes Sixt, (Wed Oct 3, 4:09 pm)