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

runtime: prefs: parse user config even if sys conf dir isn't a directory #2475

Merged
merged 1 commit into from Jun 19, 2019

Conversation

marcusmueller
Copy link
Member

This comes from helping a user on the mailing list (hi there, Gary),
who's been having severe problems with the Windows audio source; told
him to configure GNU Radio to use portaudio instead. He did - but GR
ignored his config file. Turned out that the hardcoded path to the
system config dir (set at built) doesn't match how it was installed on
Windows, and that prefs don't even try the user confs if they can't find
that directory. Fixed that.

Before, this lead to systems where due to missing system paths, a user
couldn't even use their own config file, because GNU Radio didn't even
look for it.
@marcusmueller marcusmueller deleted the prefs_don't_skip_userconf branch May 11, 2019 18:59
@marcusmueller marcusmueller restored the prefs_don't_skip_userconf branch May 11, 2019 18:59
@marcusmueller marcusmueller reopened this May 11, 2019
if(p.extension() == ".conf")
fnames.push_back(p.string());
}
std::sort(fnames.begin(), fnames.end());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both in the old and new code I'm not entirely sure what this sort does, but it's not an issue with this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants