Re: [PATCH] bundle, fast-import: detect write failure
On Thu, Jan 10, 2008 at 06:05:56PM +0000, Jim Meyering wrote:
Show 11 quoted lines
> Pierre Habouzit <madcoder@artemis.madism.org> wrote:
> ....
> >> On the other hand, if that write failure is truly ignorable,
> >> a mindless minimalist :-) might argue that it's best just to
> >> omit the syscall.
> >
> > And leak a file descriptor :)
>
> Not that mindless.
> The *write* syscall, not the close.
> I would never suggest eliminating the close.
> -
> 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