mkpasswd, mkgroup: __progname points to rubbish

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Oct 2 14:12:00 GMT 2009


On Oct  2 09:50, Christopher Faylor wrote:
> On Fri, Oct 02, 2009 at 01:19:55PM +0200, Corinna Vinschen wrote:
> >On Oct  2 11:38, Julio Costa wrote:
> >> In last cygwin beta:
> >> 
> >> $ uname -a
> >> CYGWIN_NT-5.2 VFPT-ITSECVMT 1.7.0(0.212/5/3) 2009-09-11 01:25 i686 Cygwin
> >> 
> >> If I do (obviously found by mistake):
> >> 
> >> $ mkpasswd -n 0
> >> mkpasswd: unknown option -- n
> >> Try '?? a --help' for more information.
> >> 
> >> Note the rubish after "Try".
> >
> >I can reproduce this with mkpasswd from the latest test release.  I can
> >not reproduce it with the latest from CVS.  So, whatever it was, it
> >seems to be fixed in CVS.
> 
> I can reproduce this and have checked in an obvious fix.

Strange enough, attributing the symbols as dllimport was not required
before.  OpenSSH, for instance, uses some of the exported data symbols
as well without dllimport attribute and it works fine for a couple of
years.


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list