Skip to content

voidcheck string pointers and reenable attr test#266

Merged
maxkorp merged 1 commit intomasterfrom
fix-attr-test
Nov 11, 2014
Merged

voidcheck string pointers and reenable attr test#266
maxkorp merged 1 commit intomasterfrom
fix-attr-test

Conversation

@maxkorp
Copy link
Copy Markdown
Collaborator

@maxkorp maxkorp commented Nov 11, 2014

The attr test was failing (and being skipped) because of a segfault. Some libgit2 functions that output to char** just don't even allocate the inner string if they have no output, so we need to voidcheck the inner pointer. Combined with a tweak to make git_attr_get async and to make the templates recognize its return, the test passes.

maxkorp added a commit that referenced this pull request Nov 11, 2014
voidcheck string pointers and reenable attr test
@maxkorp maxkorp merged commit ec0811c into master Nov 11, 2014
@maxkorp maxkorp deleted the fix-attr-test branch November 11, 2014 17:39
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.

1 participant