From: Robin Rosenberg Date: Fri, 14 Dec 2007 13:47:03 GMT Subject: Re: git-cvsexportcommit fails for huge commits Message-ID: <200712141447.05039.robin.rosenberg.lists@dewire.com> In-Reply-To: <20071214091546.GA20907@coredump.intra.peff.net> fredag 14 december 2007 skrev Jeff King: > On Thu, Dec 13, 2007 at 11:45:54PM -0500, Jeff King wrote: > > > So it seems that we could probably go with something more like 64K, and > > then only truly pathological cases should trigger the behavior. > > So here is a cleaned up patch. It bumps the maximum size to 64kB, adds > scalar support (nobody uses it, but it makes sense for the interface to > match that of safe_pipe_capture -- I am even tempted to just replace > safe_pipe_capture entirely and convert the few other callers), and > cleans up the unused safe_pipe_capture_blob. Wouldn't using the POSIX::ARG_MAX constant work? -- robin