delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/09/13:06:51

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=AoX/D3DM88KDRgLRnr9PtliTgp9T
aa9lFE1OkwL2Vpq97P0htFzr5OB/jE9QxuPiyh/Clhx8arpo8lFfyN0p0to1gMiS
zkiqW75OM93KwAPFORTPGjz2TJaGbkze4N/Q/2rBYyjC8bAyn7YcU7XIpTutUAni
+elfuunGHIr8j6o=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=1sLqRlhXrPS+D6Sd2PCj/8pC8/s=; b=Sf
fH1F+lMJWY6xeZ1VXJ8c+rKUP+erTq94SokfXi5RMfpnyVFop5vGHsI0hhI640h4
uN/3tVlkIZP6Xx755KmfrWt2PiKJFVegSigfmCtm8QiFgabsU4Juh71cu0/x6Dou
HuiXs1A3vDVvIu+Qey3zFt4XAMYlK7pyAvGIjT+38=
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=-0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: smtp5-g21.free.fr
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Subject: Re: getent group fails
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <20140508091356.GP30918@calimero.vinschen.de>
Date: Fri, 9 May 2014 19:06:31 +0200
Message-Id: <00FFC350-6ABC-407F-A12E-096F3F273BE4@Denis-Excoffier.org>
References: <EF15E076-6965-4517-AA90-C2B1682D12D2 AT Denis-Excoffier DOT org> <20140508091356 DOT GP30918 AT calimero DOT vinschen DOT de>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s49H6lxg012941

On 2014-05-09 11:13, Corinna Vinschen wrote:
> On May  7 19:39, Denis Excoffier wrote:
> Thanks for the report.  I made a dumb Copy/paste error.  This should
> be fixed in the today's snapshot from http://cygwin.com/snapshots/

Indeed, it is working now.

Also, i have noticed that 'getent group' produces this line:

+Utilisateurs authentifiés:S-1-5-11:11:
 (with \303\251 meaning &eacute;, like under UTF-8)

while 'getent passwd' produces (among other lines):

+SERVICE RÉSEAU:*:20:20:,S-1-5-20:/:/sbin/nologin
  (with \311 meaning &Eacute;, like under ISO-Latin)

This is with LC_CTYPE=fr_FR, no /etc/nsswitch.conf, /etc/passwd
and /etc/group with only one line each, domain member with currently no
network connected, under Cygwin 32bits 'Just Me', installed on top of
XP SP3 32bits [french only], with snapshot '20140508 19:51:25’,
and all packages up-to-date.

If i setenv LC_CTYPE C, or unsetenv LC_CTYPE, i also get UTF-8 for
'getent passwd' (ie for both).

What bothers me is that under LC_CTYPE=fr_FR (or fr_FR AT euro), the
getent output is not consistent.

Regards,

Denis Excoffier.

--
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


- Raw text -


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