From: Shawn O. Pearce Date: Wed, 05 Mar 2008 07:19:15 GMT Subject: Re: msgmft segfaulting on tiger Message-ID: <20080305071915.GI8410@spearce.org> In-Reply-To: <47C7000C.1000809@gmail.com> Gabriel Saldaa wrote: > Here's the output, hope it helps: > > $ msgfmt --tcl -l C -d . /dev/null; echo $? > msgfmt: unrecognized option `--tcl' > Try `msgfmt --help' for more information. > 1 > > somehow msgfmt doesn't recognize the --tcl flag. Just to revive a nearly dead thead... I have a workaround now in git-gui maint that looks for this case and falls into our po2msg script when msgfmt doesn't see --tcl. I also set Paul Mackerras a patch for gitk, so it can do the same thing. Maybe Git 1.5.4.4 will include both patches. > Junio C Hamano wrote: > >Johannes Schindelin writes: > > > >>>$ msgfmt --tcl; echo $? > >>>msgfmt: unrecognized option `--tcl' > >>>Try `msgfmt --help' for more information. > >>>1 > >>Darn. I think that's the same exit code as for any other invocation > >>without filename. > >> > >>So it seems that there is no easy way to tell a --tcl aware msgfmt from > >>the other. > > > >How about... > > > > $ msgfmt --tcl -l C -d . /dev/null; echo $? -- Shawn.