From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25971 invoked by alias); 12 Feb 2014 17:05:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25960 invoked by uid 89); 12 Feb 2014 17:05:32 -0000 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 Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 12 Feb 2014 17:05:28 +0000 Received: from [91.78.166.180] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WDdFJ-0006FK-4d; Wed, 12 Feb 2014 21:05:13 +0400 Received: from [192.168.1.10] (HELO localhost) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 12 Feb 2014 17:03:59 -0000 Date: Wed, 12 Feb 2014 17:15:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <289170113.20140212210359@mtu-net.ru> To: Ken Brown , cygwin@cygwin.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@etr-usa.com> <52F7AEC5.5090205@tiscali.co.uk> <8B7B5FE0-7413-4358-BA8A-E0B6E0B17653@etr-usa.com> <52F8B50E.7040307@lysator.liu.se> <52F92D58.9030408@etr-usa.com> <52F95D1D.4050108@tiscali.co.uk> <4510121021.20140211062515@mtu-net.ru> <52FAB14C.8060800@tiscali.co.uk> <52FABAF5.2060701@etr-usa.com> <52FAD730.9090507@redhat.com> <20140212090804.GM2821@calimero.vinschen.de> <52FB9E51.7030607@cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00282.txt.bz2 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@yandex.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