delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/12/17:20:40

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=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 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
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 AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <17210290551.20130613010628@mtu-net.ru>
To: Warren Young <warren AT etr-usa DOT com>, cygwin AT cygwin DOT com
Subject: Re: SQLite temporary path creation broken in latest stable release
In-Reply-To: <51B8AB9F.4000602@etr-usa.com>
References: <51B52B51 DOT 50203 AT dancol DOT org> <51B6272F DOT 8010001 AT etr-usa DOT com> <1925072689 DOT 20130612041943 AT mtu-net DOT ru> <51B8AB9F DOT 4000602 AT etr-usa DOT com>
MIME-Version: 1.0
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 AT freemail DOT 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

- Raw text -


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