X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=GxJmar6NqZJwxeYhMBMwczR/DeEPtmbiSaB0g/2QMeidxQMvqtGzx
	dBVkoSw28ZrnguIQIkOKXTM/+ZBhqefRYirDIeAvvCG+qixDgJKzTTK3XQt5N04t
	utBpJHv/aQ68DEG9dVb2LZXc25xMZK71HJ1+Zu9wIpSqUElJEZd3ys=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=k5Y2UNTnyIsju+2RAv0PslgcnHo=; b=TnG7jdf2U0Mh0oV+VByv6nsV84jC
	Xs7eDcvjqpv9DtpGohQ6QYB3b+AheCVUAh++Ifjg1Lnz1DUFJ0A28y6BCYJP6fiJ
	1TBpUm8Wr7MZ6I8tZKpLL/954ZwpGEudqt0m3kvfCjF8QvBnyS7hQja7tmY9D1a1
	7Gmj50XISNm+L7o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 18 Feb 2014 18:48:37 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140218174837.GA10789@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <66dcf64a9653c2481b9800d9e9d1e436.squirrel@webmail.xs4all.nl>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q"
Content-Disposition: inline
In-Reply-To: <66dcf64a9653c2481b9800d9e9d1e436.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.21 (2010-09-15)

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 18 18:16, J.H. vd Water wrote:
> >> this week I applied the first incarnation of the new passwd/group
> >> handling code to the Cygwin repository and after fixing a crash which
> >> manifested in Denis Excoffier's network, I think we're at a point
> >> which allows to push this forward.
> >> [...]
> >
> >Ok guys, I just applied a patch implementing getpwent and getgrent,
> >and the way to configure the output is probably more detailed than
> >you ever wanted ...
>=20
> Hi Corinna,
>=20
> As I saw no response to your latest call for testers,  I decided to test =
it
> myself ... (x86-XP, SP3).
>=20
>  - setup "Cygwin" (base) in a different directory
>  - applied tar ball (17/2 snapshot) as instructed at
>=20
>    http://cygwin.com/faq-nochunks.html#faq.setup.snapshots
>=20
> After I had set up /etc/nsswitch.conf as follows
>=20
> db_enum: files
>=20
> the output of getpwent and getgrent looked "familiar" to me. (though the
> output of 'id' is not).

In how far?  Did you read my text in terms of how user and group names
are created?  The leading separator char for builtin groups is an SFU
thingy.  If it's too disturbing we can discuss changing that, but right
now I'm still looking for some kind of similarity.

> However, after I had modified /etc/nsswitch.conf as follows
>=20
> db_enum: local
>=20
> getpwent crashed (segment violation) ...

Thanks for testing, but I can't reproduce this.  I tried on 32 bit
Windows 7 and 64 bit Windows 8.1.

How did you build getpwent?  Did you stop your Cygwin shell and restart
it?  Can you please send the getpwent.exe.stackdump file?


Thanks,
Corinna

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

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTA5z1AAoJEPU2Bp2uRE+gmDgP/0ppdAeaxrTCBteRky3wOjMf
I/FJpAgarr7KzJsEmSi0ryPkCzwFn+HRimCYVXPrsK1xqS5FfknKPL7f6B/KmDjq
eqwrtT+CGSX1kUPst42nKk1ZWQfnwGcLRUHdaqkfd0PMTOnZidonrn2bQNhhvMds
wML1iOdU++nMJuXx6vRj0+DxwUozdDc0uNtzwn8atOQsfxqPKxGsNvVGUZRWlFgM
nyrFQKu6CbSRdsN3oZS2Ga84oJg6m8e3mlet06VTsfK9vSgnMKvEn+1ihuR3g4fh
9USOP/O91GUPtkev2H1uTMYVV0GRaZyjA41DUki8mBjGnu4VR1XXN3ltG+iHaix0
O6/ScCvmKTOZhZ6vWJp1rgSHuKdp2JwcMtanKgjDQBo+KEc5bvcJl1wm+SMSSiuK
8F2PtdhkpYVBXC7Si2B8Kkexg+kpp5mvm1osduVTuPIj+GKzUe0efELs4U88iUQf
cWY+2Ll4PsRyosVyU4f1y1ZyjrPXxLx/ZuWSQJSQTUAXqWXrTFctUb5i0D4xg3y9
8xI0B5RXftw6fb79sWPMLMAWGj4AAlh1q7fEtBkgHw4s+tcTw5+HaEURNAjmtQAl
CZ8IyNsJTA3IBu+mOWZAkrjmhvn+AUXUyBkXsN60uBSK8da8I2I1cZXrwa0Clsmz
EGDeUdpLmJ+CcJskIqJ7
=C7zR
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--
