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

Very minor improvements in C source code #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Very minor improvements in C source code #116

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 4, 2017

No description provided.

@@ -94,11 +94,6 @@ void srunner_set_tap(SRunner * sr, const char *fname)
sr->tap_fname = fname;
}

int srunner_has_tap(SRunner * sr)
Copy link
Author

Choose a reason for hiding this comment

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

It used srunner_tap_fname that is not defined before.

Choose a reason for hiding this comment

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

It was already defined in src/check_log.h which is included in the beginning of src/check_log.c.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe make this a separate commit, instead of combining multiple unrelated improvements in one commit.

Copy link
Author

Choose a reason for hiding this comment

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

src/check_msg.c Outdated
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
Copy link
Author

Choose a reason for hiding this comment

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

For unlink

Copy link
Contributor

Choose a reason for hiding this comment

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

This header is not available if in the Windows environment. Because of this, the MSVC and Visual Studio build fails: https://ci.appveyor.com/project/brarcher46583/check/build/1.0.467.

@ghost
Copy link
Author

ghost commented Mar 7, 2017

I removed from this pull request what I have split in an other one. #119

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.

2 participants