We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3420 - hg #7991 broke DOSBox on OS X
Summary: hg #7991 broke DOSBox on OS X
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: HG 1.2
Hardware: x86 Mac OS X (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-06 21:21 UTC by Dominik Reichardt
Modified: 2016-09-08 10:59 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Reichardt 2016-09-06 21:21:14 UTC
DOSBox still uses SDL 1.2 and I'm providing daily snapshots for a while now and thus have been dependent on the post SDL 1.2.15 fixes.

DOSBox usually uses a config file in ~/Library/Preferences but if you place a config named dosbox.conf in the same folder as the app bundle, DOSBox will use that config instead.

I only just today realized that this is no longer working and traced it back to revision 7991.

So a built of SDL 1.2 branch before rev 7991 allows DOSBox to launch with the in-same-folder config on OS X 10.6 - 10.12 (tested on VMs of 10.6, 10.8, 10.9 and real 10.12 machine).


Still correctly working DOSBox https://dl.dropboxusercontent.com/u/7737184/Dosbox/DOSBox-0.74-1.dmg and my broken SVN built at https://dl.dropboxusercontent.com/u/7737184/Dosbox/Dosbox-Snapshot-bad.dmg

A test config is a plain text file, must be named dosbox.conf and can just have these two lines:
[autoexec]
FOOBAR

(it will say illegal command FOOBAR when launched)
Comment 1 Ryan C. Gordon 2016-09-07 22:18:53 UTC
This _should_ be fixed now with:

    https://hg.libsdl.org/SDL/rev/0c1a8b0429a9

...let me know if this fixes it for you!

--ryan.
Comment 2 Dominik Reichardt 2016-09-08 10:59:11 UTC
YES! Thanks a lot for this fast fix!