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>
|
||||
|
||||
* AssemblyInfo.cs:
|
||||
|
||||
@@ -94,9 +94,9 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
foreach(CatalogEntry entry in catalogCache)
|
||||
{
|
||||
if(entry.parentID == dirId)
|
||||
// Do same trick as Mac OS X, replace filesystem '/' with ':'
|
||||
// Maybe as '-' is the path separator in Lisa OS I should do that
|
||||
contents.Add(GetString(entry.filename).Replace('/', ':'));
|
||||
// Do same trick as Mac OS X, replace filesystem '/' with '-',
|
||||
// as '-' is the path separator in Lisa OS
|
||||
contents.Add(GetString(entry.filename).Replace('/', '-'));
|
||||
}
|
||||
|
||||
return Errno.NoError;
|
||||
|
||||
@@ -499,7 +499,7 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
|
||||
for(int lvl = 0; lvl < pathElements.Length; lvl++)
|
||||
{
|
||||
string wantedFilename = pathElements[0].Replace(':', '/');
|
||||
string wantedFilename = pathElements[0].Replace('-', '/');
|
||||
|
||||
foreach(CatalogEntry entry in catalogCache)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user