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=pMbTMMrdrWgjT/7s
	eoT3Absr4Snizuvk1mfMWvKeJB61v+FJJK9PXQO8oh8TMwjQEvByeexABKdIPh1C
	rAjYm3hvM2d1+UauS457htPAbHnqQ4dH3S4fKjHuz77/LbG+78uCvvqAB83oeGmS
	FPCCNV1mF+Oah/YsZ0ag9Tixy5A=
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=MZ/UxjsJtdZS91GuzloAvM
	/gdOs=; b=n6n69UvGUQTIk1eZpZWAF3klmvvHMN3tP4q5s3AdsRG/y+mC8LxDiL
	lUI2mCPlEm86OoSpbgsnqy7j81tSNlKiWN916fvJjfvAVMDjHRZ8BVMV57+I1jxK
	q/caROvIVSXwoR9vCUDdJsBhtGobghpKfrcFdmA9zaizdNGKLQ6c0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Sun, 16 Feb 2014 11:20:54 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1451240512.20140216112054@yandex.ru>
To: "Larry Hall (Cygwin)" <cygwin@cygwin.com>
Subject: Re: Little cygpath improvement request
In-Reply-To: <530063F2.5080403@cygwin.com>
References: <111910987.20140214222230@mtu-net.ru> <52FE6397.5010105@cygwin.com> <187072112.20140214234339@mtu-net.ru> <20140215125606.GM2246@calimero.vinschen.de> <1745533059.20140215225708@mtu-net.ru> <2826041.20140216062749@yandex.ru> <53004F35.4020301@googlemail.com> <1793681198.20140216102125@yandex.ru> <530063F2.5080403@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Larry Hall (Cygwin)!

>> It provide no information at all in any event (be it missing argument, or
>> nonexistent path (not like it's checking for existence right now... which only
>> making situation more complicated)), requiring non-obvious, manually conceived
>> tests to ensure that the program operates orderly.

> I think you're looking for more from cygpath than it's designed to give.
> Its intent is to perform direct Windows<->POSIX path conversions using the
> mount table and to provide access to some system defined paths in Windows.
> That's really it.  It is not meant to validate input or output.  If you have
> a use case which requires that only valid paths are input to or output
> from cygpath, that does need to be handled upstream or downstream.

I'm really not looking for anything besides what cygpath already do. I'm kind
of satisfied with it's functionality, except may be one bit, but it's outside
the scope of current discussion.
Since I were able to successfully build it on my own, I can play with it as
much, as my time permit.
If it would turn up into something more convincing, than two slashes plugged
into a line of code, I'll get back to the list.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 16.02.2014, <11:17>

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

