delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/07/14:21:37

X-Recipient: archive-cygwin AT delorie DOT 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=IO4gLQ9ePTPBqrbqzM2/iRjTBqgQ3lVnERjMrNltYLvn8KfKiUiJx
Q4hw4jRx9wK0lkPBOIWDS5y/kDN5cS+UaFQiMQdG1sq4KYdHA3SW7qomj0TbfjfJ
ZU5tsHiVrUcz3QnX0acZpaIbqeA/J7A2SZzGJxAjlNtyF8M2Ypbcn8=
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=teTLoUcK+F+B78qYWUJ2vD6AnMw=; b=avFsKLQ7p25VXJXeFXPnTgwFW7DQ
syDrEV+kDfZ7yCw7CKsKkdL6BkTqgz7x4RDLlyAvJcicgTvVx6y6+ommokjDU7EX
YNomGI/e14SPQvYYuU6qhQqeswqqgxUaDeh9PfuPBjWDaAleXjFWBwlBSChVjIyA
r3dTP06xUKXUiyk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 7 Feb 2014 20:21:17 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)
Message-ID: <20140207192117.GP2821@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <52F339CA DOT 5070305 AT gmail DOT com> <20140206090117 DOT GD2821 AT calimero DOT vinschen DOT de> <52F361C5 DOT 3000807 AT gmail DOT com> <20140206141321 DOT GI2821 AT calimero DOT vinschen DOT de> <52F40208 DOT 5030901 AT etr-usa DOT com> <20140207094917 DOT GN2821 AT calimero DOT vinschen DOT de> <52F4E540 DOT 2010606 AT tiscali DOT co DOT uk> <52F51D19 DOT 6080807 AT etr-usa DOT com>
MIME-Version: 1.0
In-Reply-To: <52F51D19.6080807@etr-usa.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--WjzcGWYIDcuHBXpJ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  7 10:51, Warren Young wrote:
> On 2/7/2014 06:53, David Stacey wrote:
> >On 07/02/2014 09:49, Corinna Vinschen wrote:
> >>On Feb  6 14:43, Warren Young wrote:
> >>>I know a guy who currently has all of
> >>>Cygwin downloaded and ready to re-install, to test this.:)
> >>Try this:  strings -f/bin/*.exe/bin/*.dll | grep getgrent
> >
> >Let me save you the trouble of reinstalling it
>=20
> Thank you!
>=20
> > Results attached.
>=20
> The cppcheck, cygqscintilla*.dll and nedit results are bogus. (i.e.
> They contain these strings for other reasons.)  Here's a better
> check that doesn't give false positives:
>=20
>     $ cat <<END > checkfile
>     #!/bin/sh
>     if egrep -q '_getgrent(32|64)' "$1" ; then echo $1 ; fi
>     END
>     $ find /bin -name \*.exe -exec ./checkfile {} \;
>=20
> cygperl*.dll includes the functions only because it wraps them.  I
> assume Perl's configuration script is smart enough to cope if
> they're missing.

Just to clarify:  The entry points won't go away, but they might be
*sort of* non-functional.  They will, for a start, only enumerate
the accounts which are cached in the process, which may be only
two (current user and her primary group), or none at all.

> Emacs...why am I not surprised that it uses these old functions?
>=20
> Vim does not, therefore Vim is the superior text editor.  (I kid.)

You dont ;)


Corinna

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

--WjzcGWYIDcuHBXpJ
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJS9TItAAoJEPU2Bp2uRE+g7a4QAJbuW4SPB09EQh2eilY0SrOI
ddWvrVRVscGZaLAXhA2ZrnKBducLXzYW+ckGAIRbvC1hlWuCYtgh1yc/SbeMkrzF
MAcT/jOxgBF4KIxvBKZ5i2mbcz2w+4+b+MYv3rNVLRSdfrjihf5qMycLXBnRNHIy
cXMwgvuvEAD+he2eZn1d1+mLosOOHmzGvSrdFOBwgc7AP5J4OD09I8LSTcQtfjmW
xUorQ+t1y9ZlH/YRZHDnwBGLTbrFj7YiSxOhc2PLIDwIIlyD8adDSWXstKE5StEw
j4pWhoImeMM/8dhKLoy7MWu/hdvpvATEYvq0hGvBgrdNa9KYZYFbhGdtmzq/HMWh
KwnNj7Zhq9DYS3yBrDu50wWd7AjJztmVlCN1kotUw6Zda+wrCqeaANd9lQ+1pnS8
4/99IlMN8dU91tKJqd44FumIA6NuA1ukh4uGzqymjNaMisLFdpP5FPQG1fQVV8p0
/Dgcl1c3tFSSaCBp2kx/SZ4wa4hybKMYBJGpcvUT7wpEcvfA3HEO0YcsySzv2IVj
iX8qzlTZadApZThgihdA8LyE8SrIwT016j0v6onEv788QeIZQCxSmBIC1bdC3XQF
mz7abDFy3yiADGHP5P7KLteU6n6XL4hM6AjjqeusGZ11TpEeqGA2rc5CM+fTZ/3r
JJ5gcBjg9oSOpxqUuErA
=Ldo9
-----END PGP SIGNATURE-----

--WjzcGWYIDcuHBXpJ--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019