This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettext-devel-0.14.5-1 bug?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]