From: Carlos Martín Nieto Date: Mon, 21 Mar 2011 15:57:05 GMT Subject: Re: [PATCH] system_path: use a static buffer Message-ID: <1300723030.2583.24.camel@bee.lab.cmartin.tk> In-Reply-To: <20110321155108.GA27662@sigill.intra.peff.net> On lun, 2011-03-21 at 11:51 -0400, Jeff King wrote: > Yeah, I am happy to just drop it. AFAICT, an error return from snprintf > is a bug in your program[1] or a bug in libc. In either case, it should > fail or produce bogus output on the first run, and we don't need to > worry about checking errors all the time. Noting the error helps a > little with detection, but since we already install our own vsnprintf on > known-buggy platforms, I haven't seen a single complaint. Then the patch in <1300359664-6230-1-git-send-email-cmn@elego.de> should do the trick. cmn