delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/15/01:50: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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type; q=dns; s=default; b=jKlEt
0ees8dkdlKQ4tE17RaipigOzPrIXfyaKcIIgFGAckIpMBhEbciI8IvtQWOQcj4Jz
JmkNwrmV0HUkeYlPXrQdy8nSvo6hy2S4JBr3CMIICbHoFo0reTLJOmxCFhE5EcIw
bJBJxTU6T9DBzKXdQ8L0V/JweSUpj2EuFNtbZ0=
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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type; s=default; bh=k1uhM6mn0C9
Pa/iIK3+YK2JS0lw=; b=MVaUMukB0NFKpgJKCmOlB06GO6bncYsuoP6eHMuJzuC
W674Bvqzk5i6s8nwo86CCMf5Go/YiNKPm0WFoEG1sC5br692l3eQLoN701sf6g2s
msZWd5eFA6LNPM61YWd/F9/iUDzKfJn6H2hRWDpp9Kl8J47LRUcCT35VJ5w9I0Xk
=
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=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mailout3.w1.samsung.com
From: Pavel Fedin <p DOT fedin AT samsung DOT com>
To: "'cygwin'" <cygwin AT cygwin DOT com>
Cc: daveroth AT acm DOT org
References: <004101cfe6a8$fac2d340$f04879c0$%fedin AT samsung DOT com> <543C29B9 DOT 8040409 AT acm DOT org>
In-reply-to: <543C29B9.8040409@acm.org>
Subject: RE: FW: [BUG] SCons 2.3.0 sometimes cannot find files
Date: Wed, 15 Oct 2014 09:50:06 +0400
Message-id: <002701cfe83b$dfe19090$9fa4b1b0$%fedin@samsung.com>
MIME-version: 1.0
X-IsSubscribed: yes

------=_NextPart_000_0028_01CFE85D.66F33090
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

 Hello!

> I saw the email, but haven't had time to look into it. Your reduced
> test case didn't make it, either.

 How ? The idea is to save it under 'test.py' name and run as 'python
test.py'. You should get FAIL with the original version and PASS if you
apply the fix.

> So, if you think you know the solution and can provide a patch, I can
> roll a fixed package pretty quickly.

 Ok. The patch is attached.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia


------=_NextPart_000_0028_01CFE85D.66F33090
Content-Type: application/octet-stream;
	name="always-use-normcase.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="always-use-normcase.patch"

--- origsrc/scons-2.3.0/engine/SCons/Node/FS.py	2013-03-03 18:48:39.0000000=
00 +0400=0A=
+++ src/scons-2.3.0/engine/SCons/Node/FS.py	2014-10-10 18:50:41.092778200 +=
0500=0A=
@@ -1841,8 +1841,8 @@ class Dir(Base):=0A=
                 for entry in map(_my_normcase, entries):=0A=
                     d[entry] =3D True=0A=
             self.on_disk_entries =3D d=0A=
+        name =3D _my_normcase(name)=0A=
         if sys.platform =3D=3D 'win32':=0A=
-            name =3D _my_normcase(name)=0A=
             result =3D d.get(name)=0A=
             if result is None:=0A=
                 # Belt-and-suspenders for Windows:  check directly for=0A=


------=_NextPart_000_0028_01CFE85D.66F33090
Content-Type: text/plain; charset=us-ascii

--
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
------=_NextPart_000_0028_01CFE85D.66F33090--

- Raw text -


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