Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MorphOS] write to NULL when going to device root in filerequester #9

Closed
DorpsGek opened this issue Nov 28, 2005 · 3 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

tokai opened the ticket and wrote:

openttd does a write to NULL when the user clicks "parent" and he reaches the device root.

Details: Under MorphOS paths looks like: volume:dir/subdir and OpenTTD is not aware of that. Since we compile using libnix (MorphOS libc) and not ixemul (alternative more unix-alike libc, but with certain limitations in 'nativiness') there is no automatical unix<->morphos path conversion and it has to be done manually. Prolly nothing problematic. :-)

Reported version: 0.4.0.1
Operating system: MorphOS


This issue was imported from FlySpray: https://bugs.openttd.org/task/9
@DorpsGek
Copy link
Member Author

Darkvater wrote:

Probably not, but can you make a patch for this since not many of us have MorhpOS lying around I think. Or change to compile with ixemul which is perhaps less work?


This comment was imported from FlySpray: https://bugs.openttd.org/task/9#comment51

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2006

tokai wrote:

Patch attached.

I tried to implement the mess with minimal # ifdef amount (a few were required still). The patch fixes the write(s) to NULL and also adds proper handling of paths (so user can change to volume root; load files from there or enter directories properly which are located there). The only thing which doesn't work is switching to a different volume, but it doesnt make much sense to add a lot of more custom MorphOS/AmigaOS code to just implement that, IMHO.

I hope it doesnt break anything. :)

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/9#comment349

@DorpsGek
Copy link
Member Author

TrueBrain closed the ticket.

Reason for closing: Implemented


This comment was imported from FlySpray: https://bugs.openttd.org/task/9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant