[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/runtime/System/IO Path.cs,1.17,1.18
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/runtime/System/IO Path.cs,1.17,1.18 |
Date: |
Fri, 10 Oct 2003 01:39:52 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv25472/runtime/System/IO
Modified Files:
Path.cs
Log Message:
"Path.GetExtension" should return "." at the front of the extension.
Index: Path.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/Path.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Path.cs 18 Aug 2003 06:42:46 -0000 1.17
--- Path.cs 10 Oct 2003 01:39:49 -0000 1.18
***************
*** 410,414 ****
if(ch == '.')
{
! return path.Substring(posn + 1);
}
else
if(IsDirectoryOrVolumeSeparator(ch))
--- 410,419 ----
if(ch == '.')
{
! if((posn + 1) == path.Length)
! {
! // Ends in a dot.
! return String.Empty;
! }
! return path.Substring(posn);
}
else
if(IsDirectoryOrVolumeSeparator(ch))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/runtime/System/IO Path.cs,1.17,1.18,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnetlib/tests/runtime/System/IO TestPath.cs, 1.1, 1.2
- Next by Date:
[Dotgnu-pnet-commits] pnetlib ChangeLog, 1.1390, 1.1391 auto_gen.sh, 1.5, 1.6
- Previous by thread:
[Dotgnu-pnet-commits] pnetlib/tests/runtime/System/IO TestPath.cs, 1.1, 1.2
- Next by thread:
[Dotgnu-pnet-commits] pnetlib ChangeLog, 1.1390, 1.1391 auto_gen.sh, 1.5, 1.6
- Index(es):