X-Recipient: archive-cygwin@delorie.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=kb/9w3kF3ksX93V2
	Q2Q4aA5oStCanguPA/IQtXe887L6fecUvqqSwRSbRVoos10IQ3FlEBJVNgG7sY6V
	NbeaWmZNF47JXOrt8eR77aCcS5Rc20KQcSOGMDkmLGGTlTL9u+5RVda+HdEGwftV
	xQPwuDnhGr3vcUHpcyhAehDPxjE=
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=kbbmw+WIbmpar0z8kGtHex
	jlnzo=; b=xYicSi8x5nI/fzZOPc8Fp6moM5ZSdXrI7eOD2p9PjLquoYJfbfK6Xq
	iaYu25LnmK6A518Ne5fdWTM4yh8gehKghqbAaKrZ9SVpK1Rqiy/AhTBzm7usBrqI
	PtwcAwmFGI45MjJXraBaGcfLUXABcSS7CDZ8tH0TGFLuO0u1k8p7E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL autolearn=no version=3.3.1
Date: Thu, 13 Jun 2013 01:06:28 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <17210290551.20130613010628@mtu-net.ru>
To: Warren Young <warren@etr-usa.com>, cygwin@cygwin.com
Subject: Re: SQLite temporary path creation broken in latest stable release
In-Reply-To: <51B8AB9F.4000602@etr-usa.com>
References: <51B52B51.50203@dancol.org> <51B6272F.8010001@etr-usa.com> <1925072689.20130612041943@mtu-net.ru> <51B8AB9F.4000602@etr-usa.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Warren Young!

>>> None of the SQLite core developers have responded to my charge that this
>>> looks like a bug in SQLite.  It shouldn't be generating temporary file
>>> names with backslashes in them for Cygwin builds...
>>
>> There's no reason to ever use backslashes in paths, ever.

> I suspect it is an interaction between #ifdef WINDOWS == true and the 
> cygwinTempPath() hack patched into that version.  The mainline SQLite 
> code doesn't realize we've played a bit of sleight of hand with it, so 
> it fails when it wants to add a second level to its temporary storage 
> hierarchy.

> If true, that's yet another reason to switch to 3.7.17: I removed the 
> hack since we're building as SQLITE_OS_UNIX.

I was referring to the fact, that Windows IO functions do not see a
difference between forward and backward slashes.
If you intend to write cross-platform application, you better off using
forward slashes internally in all cases.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 13.06.2013, <00:28>

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

