#2857 closed defect (fixed)
loadFile does not handle '\\' equivalent to '/'
Reported by: | Lennart Ochel | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Command Prompt Environment | Version: | trunk |
Keywords: | Cc: | Mahder Alemseged Gebremedhin |
Description
There are some calls in there that *say* the function converts \ to /. But maybe it doesn't for some reason.
This can be reproduced on Windows using the following snippet:
loadFile("D:\\Modelica\\OpenModelica1.9.0\\lib\\omlibrary\\Modelica 3.2.1\\package.mo"); getErrorString(); list(Modelica.Math); getErrorString();
Change History (9)
comment:1 by , 10 years ago
follow-up: 4 comment:3 by , 10 years ago
Maybe it doesn't work with \\
if you have a " " in the path.
I'll have a look sometime.
comment:4 by , 10 years ago
Cc: | added |
---|---|
Component: | Unknown → Command Prompt Environment |
Replying to adrpo:
Maybe it doesn't work with
\\
if you have a " " in the path.
I'll have a look sometime.
You mean space by " " right?
Modelica 3.2.1
has a space. Still works :)
comment:8 by , 9 years ago
Milestone: | Future → pre1.9.4 |
---|
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:9 by , 7 years ago
Milestone: | pre1.9.4 → 1.9.4 |
---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
See also #2381