From: Linus Torvalds Date: Mon, 23 Jun 2008 23:40:37 GMT Subject: Re: [RFC] Re: Convert 'git blame' to parse_options() Message-ID: In-Reply-To: <20080623233146.GP13395@artemis.madism.org> On Tue, 24 Jun 2008, Pierre Habouzit wrote: > > Are we sure argv[argc] is NULL when those are main() arguments ? Yes. There's tons of code that ends up not caring about argc at all, so any system that doesn't NULL-terminate would break. In fact, git itself already depends on it, because it turns argv directly into the pathspec name pattern array. Linus