mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Change trick to use LisaOS path separator.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2016-08-01 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* Dir.cs:
|
||||||
|
* File.cs: Change trick to use LisaOS path separator.
|
||||||
|
|
||||||
2016-08-01 Natalia Portillo <claunia@claunia.com>
|
2016-08-01 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* AssemblyInfo.cs:
|
* AssemblyInfo.cs:
|
||||||
|
|||||||
@@ -94,9 +94,9 @@ namespace DiscImageChef.Filesystems.LisaFS
|
|||||||
foreach(CatalogEntry entry in catalogCache)
|
foreach(CatalogEntry entry in catalogCache)
|
||||||
{
|
{
|
||||||
if(entry.parentID == dirId)
|
if(entry.parentID == dirId)
|
||||||
// Do same trick as Mac OS X, replace filesystem '/' with ':'
|
// Do same trick as Mac OS X, replace filesystem '/' with '-',
|
||||||
// Maybe as '-' is the path separator in Lisa OS I should do that
|
// as '-' is the path separator in Lisa OS
|
||||||
contents.Add(GetString(entry.filename).Replace('/', ':'));
|
contents.Add(GetString(entry.filename).Replace('/', '-'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return Errno.NoError;
|
return Errno.NoError;
|
||||||
|
|||||||
@@ -499,7 +499,7 @@ namespace DiscImageChef.Filesystems.LisaFS
|
|||||||
|
|
||||||
for(int lvl = 0; lvl < pathElements.Length; lvl++)
|
for(int lvl = 0; lvl < pathElements.Length; lvl++)
|
||||||
{
|
{
|
||||||
string wantedFilename = pathElements[0].Replace(':', '/');
|
string wantedFilename = pathElements[0].Replace('-', '/');
|
||||||
|
|
||||||
foreach(CatalogEntry entry in catalogCache)
|
foreach(CatalogEntry entry in catalogCache)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user