 |
Changeset 3361
- Timestamp:
- 03/15/08 15:32:33
(9 months ago)
- Author:
- kris
- Message:
fixed #969 :: Environment.exePath output has 2 slash lines before filename
Thanks, adel
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3269 |
r3361 |
|
| 158 | 158 | if (len) |
|---|
| 159 | 159 | { |
|---|
| 160 | | dir[len-1] = '\\'; |
|---|
| | 160 | dir[len-1] = '/'; |
|---|
| 161 | 161 | path = dir; |
|---|
| 162 | 162 | } |
|---|
| … | … | |
| 177 | 177 | { |
|---|
| 178 | 178 | path = dir[0..i]; |
|---|
| 179 | | path[$-1] = '\\'; |
|---|
| | 179 | path[$-1] = '/'; |
|---|
| 180 | 180 | } |
|---|
| 181 | 181 | else |
|---|
| … | … | |
| 261 | 261 | foo (path); |
|---|
| 262 | 262 | |
|---|
| 263 | | path.set (r"\x\y\.file"); |
|---|
| | 263 | path.set (r"/x/y/.file"); |
|---|
| 264 | 264 | foo (path); |
|---|
| 265 | 265 | |
|---|
| … | … | |
| 271 | 271 | foo(path); |
|---|
| 272 | 272 | |
|---|
| 273 | | path.set (r"arf\test"); |
|---|
| | 273 | path.set (r"arf/test"); |
|---|
| 274 | 274 | foo(path); |
|---|
| 275 | 275 | FileSystem.toAbsolute(path); |
|---|
Download in other formats:
|
 |
 |
|
 |
Copyright © 2006-2008 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic