This is the mail archive of the cygwin 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: bug in csih?


On Feb 23 20:11, Achim Gratz wrote:
> Len Giambrone writes:
> > If that is the case, then there is a bug in csih_old_cygwin:
> 
> No, not there.
> 
> > build@wx64lg /usr/share/csih
> > $ uname -a
> > CYGWIN_NT-6.1 wx64lg 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin
> >
> > build@wx64lg /usr/share/csih
> > $ less cygwin-service-installation-helper.sh
> >
> > build@wx64lg /usr/share/csih
> > $ . cygwin-service-installation-helper.sh
> >
> > build@wx64lg /usr/share/csih
> > $ csih_old_cygwin
> >
> > build@wx64lg /usr/share/csih
> > $ echo $?
> > 1
> 
> It returns false, that is, not an old Cygwin.  That is correct.
> 
> > My nsswitch.conf is the default:
> >
> > $ cat /etc/nsswitch.conf
> > # /etc/nsswitch.conf
> > #
> > #    This file is read once by the first process in a Cygwin process tree.
> > #    To pick up changes, restart all Cygwin processes.  For a description
> > #    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
> > #
> > # Defaults:
> > # passwd:   files db
> > # group:    files db
> > # db_home:  cygwin desc
> > # db_shell: cygwin desc
> > # db_gecos: cygwin desc
> 
> So, in csih_use_file_etc use_file is 1 (false) at that point and
> /etc/nsswitch.conf exists.  The first grep will return false and there's
> the bug: since the default is "files db", it should keep use_file as
> is.  I'll check in a fix.

I uploaded csih-0.9.8-6 with this patch.


Thanks,
Corinna

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

Attachment: pgp3U40nKBENE.pgp
Description: PGP signature


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