delorie.com/archives/browse.cgi | search |
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:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=FsJ1aq5I/3Aw6ofu | |
aeF6glPkHzqK3tnUbLzCt3KPFYE3KECuhbVBGFXcck49pKo8zWehpOBJP67GDsUe | |
p2P0hThaqcA+rnx7g0yY2i+CuR9/1bVdsHuYWRfxlWr2FDPE0DShwTItpOSUtzNY | |
t/675+t2GLJ4/A4ASdhkwCbmppc= | |
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:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=xKQ5r7qAjyr4B55hGohzJG | |
5FD6I=; b=aQQ2IJvv2XEucd27OcxfAVXmbZtKiOS2NGrGqPqrtmt1XaybKomXwZ | |
VxFWBuwzwSzYzHCP5V+gwS6MPDXVUL1acgFyJ4fu8IzLyMSmwGGl4tPIUItq2g4G | |
7weL2aJDTq32fIeGparRTBLavt/AMXxo/zBCWdwto9xQ5yzAGHdRg= | |
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=2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtpback.ht-systems.ru |
Date: | Wed, 12 Feb 2014 21:03:59 +0400 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <289170113.20140212210359@mtu-net.ru> |
To: | Ken Brown <kbrown AT cornell DOT edu>, cygwin AT cygwin DOT com |
Subject: | Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?) |
In-Reply-To: | <52FB9E51.7030607@cornell.edu> |
References: | <31347914-BB4F-4039-984B-731B6C72F903 AT etr-usa DOT com> <52F7AEC5 DOT 5090205 AT tiscali DOT co DOT uk> <8B7B5FE0-7413-4358-BA8A-E0B6E0B17653 AT etr-usa DOT com> <52F8B50E DOT 7040307 AT lysator DOT liu DOT se> <52F92D58 DOT 9030408 AT etr-usa DOT com> <52F95D1D DOT 4050108 AT tiscali DOT co DOT uk> <4510121021 DOT 20140211062515 AT mtu-net DOT ru> <52FAB14C DOT 8060800 AT tiscali DOT co DOT uk> <52FABAF5 DOT 2060701 AT etr-usa DOT com> <52FAD730 DOT 9090507 AT redhat DOT com> <20140212090804 DOT GM2821 AT calimero DOT vinschen DOT de> <52FB9E51 DOT 7030607 AT cornell DOT edu> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, Ken Brown! > What about the following compromise: If /etc/passwd exists, then > getpwent behaves as it does currently. Otherwise, it returns a handful > of entries, or possibly just the current user. This gives users a > choice. If tab-completion in this situation is important to them, they > can keep their /etc/passwd file. Makes sense. You get your current user name substituted in all cases, if you want more - you fill in the list of the names you want to see. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 12.02.2014, <21:03> Sorry for my terrible english... -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |