gettext-devel-0.14.5-1 bug?

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 13 08:23:00 GMT 2006


On Apr 13 03:28, Charles Wilson wrote:
> Corinna Vinschen wrote:
> >maybe I'm just dense, but the latest vim builds for the still beta
> >vim 7.0 fails with this error message:
> >
> >  /usr/bin/msgfmt: line 2: return: can only `return' from a function or 
> >  sourced script
> >
> >Shouldn't that be an "exit" rather than a "return"?
> 
> I'm probably having dense moment, too, because I don't understand. 
> msgfmt is a binary executable -- it doesn't have a 'line 2'.

No, no, it's just me being dense here.  I don't know how that happened
to my system and I don't remember doing something like that, but the
/usr/bin/msgfmt on my machine was a simple (but wrong) script:

  #!/bin/sh
  return 0

Embarrassing but true:  It didn't occur to me that a fake-msgfmt might
not be the intended functionality...

After I reinstalled the correct msgfmt.exe from gettext-devel, everything
worked as expected again. 


Sorry for the confusion :-(
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list