[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: FileTest.relative?
From: Ken Bloom <kbloom () gmail ! com>
Date: 2010-12-22 2:08:22
Message-ID: pan.2010.12.22.01.27.20 () gmail ! com
[Download RAW message or body]
On Wed, 22 Dec 2010 09:06:04 +0900, Intransition wrote:
> On Dec 21, 6:52 pm, Luis Lavena <luislav...@gmail.com> wrote:
>> Your code is not contemplating drive letters.
>
> Good point.
On Windows, a path without a drive letter that only starts in a single
backslash would be relative (becuase it's relative to the current drive
letter.) A double backslash would be an absolute UNC name.
--
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic