This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Little cygpath improvement request
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: "Larry Hall (Cygwin)" <cygwin at cygwin dot com>
- Date: Sun, 16 Feb 2014 11:20:54 +0400
- Subject: Re: Little cygpath improvement request
- Authentication-results: sourceware.org; auth=none
- References: <111910987 dot 20140214222230 at mtu-net dot ru> <52FE6397 dot 5010105 at cygwin dot com> <187072112 dot 20140214234339 at mtu-net dot ru> <20140215125606 dot GM2246 at calimero dot vinschen dot de> <1745533059 dot 20140215225708 at mtu-net dot ru> <2826041 dot 20140216062749 at yandex dot ru> <53004F35 dot 4020301 at googlemail dot com> <1793681198 dot 20140216102125 at yandex dot ru> <530063F2 dot 5080403 at cygwin dot com>
- Reply-to: cygwin at cygwin dot com
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