delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/09/03:52:14

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=iuqucWYX0RfacaA+ybUHFlDR9za9WB9o3gZ/Ge4eYMl
0x5FhryIoCUgi1abjt9iXgqIkcPaWPQsGOm/LzIGKJTmhYqTAxkIkh4B99xS7n05
hx/sAWmsxy12HuRQtUx93XdeFXbF3KJR9v20y1Dyp4HNc3QLnbhaCSBE5qEVbVd0
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=Y05Yh33f/nhxEU71PJ+T9a/PMUA=; b=jRfU1yfs9vQ+AZZiX
BY15FhuGAWchNkHYj5fvwTejvaOHTjxm1Ix1h3tuincBIgfLw2Yz62QplmhJn3R9
kjniE5FREBKSTW0P7eocK5wa8amsfimh6mSzFZqFcyzQK+Gx4KwLHrZZlT6Pm+bU
pqCWduAlHVKoTav7zn64tUL/CU=
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: Yes, score=6.0 required=5.0 tests=AWL,BAYES_50,FOREIGN_BODY,KAM_BODY_URIBL_PCCC,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: mout.kundenserver.de
Message-ID: <54D874E9.5060704@towo.net>
Date: Mon, 09 Feb 2015 09:50:49 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: execlp/execvp needs case-correct PATH
References: <54D7EB8E DOT 8070308 AT towo DOT net> <832356081 DOT 20150209072114 AT yandex DOT ru>
In-Reply-To: <832356081.20150209072114@yandex.ru>
X-TagToolbar-Keys: D20150209095049192
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 09.02.2015 um 05:21 schrieb Andrey Repin:
> Greetings, Thomas Wolff!
>
>> With a Windows case sensitive file system (and according mount flags
>> for /cygdrive), the PATH does not properly reflect casing of the actual
>> directories (e.g. C:\WINDOWS vs. C:\Windows, thanks MS...).
> NTFS is a case-insensitive, but case-preserving file system.
> I'll leave it up to you to google the implications.
Not quite, there is an optional feature (well-hidden) to switch to 
complete case sensitiveness.
It's also referred somewhere in the Cygwin user guide.

>
>> However, the shell finds programs anyway, like e.g. notepad.
>> The exec*p system calls, on the other hand, do not find a program in this
>> case as demonstrated by the attached test program.
>> This is in contrast to the Linux (and POSIX?) manual page which claims
>> „The execlp(), execvp(), and execvpe() functions duplicate the actions
>> of the shell in searching for an executable file …“
>
> --
> WBR,
> Andrey Repin (anrdaemon AT yandex DOT ru) 09.02.2015, <07:20>
>
> Sorry for my terrible english...


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
http://www.avast.com


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