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

Fix glib cmake script and only call OnOpen callback if set #1931

Merged
merged 1 commit into from
Jun 30, 2014

Conversation

bjcollins
Copy link
Contributor

Find glibconfig.h cmake script should use pkgconfig information instead of a hard coded path to /usr/lib. There may be a better way to handle this, but I found on my 64-bit system with both 32-bit and 64-bit versions of glib installed that the wrong version(32-bit) of glibconfig.h was being used and causing a compile error.

the OnOpen callback should be called when set to avoid a segfault.
I was getting a segfault when trying to use tsmf, so I fixed that case here. It looks like there might be a few other cases where we should make sure that the OnOpen function pointer gets set to NULL as well.

… hard coded path to /usr/lib.

the OnOpen callback should be called when set to avoid a segfault.
@freerdp-bot
Copy link

Can one of the members verify this patch?

@bjcollins
Copy link
Contributor Author

I am going on vacation the next two weeks, so I will not be around to modify this pull request for any suggestions that may arise. I just wanted to hurry and get something up for others to see since these items caused me some trouble today.

@awakecoding
Copy link
Member

@freerdp-bot test.

@freerdp-bot
Copy link

Test PASSed.
Refer to this link for build results: https://ci.freerdp.com/job/PullRequestBuilder/408/

awakecoding added a commit that referenced this pull request Jun 30, 2014
Fix glib cmake script and only call OnOpen callback if set
@awakecoding awakecoding merged commit 5c6ffad into FreeRDP:master Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants