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

kernel: don't include debug.h everywhere; and more #2536

Merged
merged 4 commits into from
Jun 15, 2018

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Jun 10, 2018

UPDATE: the GMP related changes cause NormalizInterface to fail. I'll revisit them later.

@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Jun 10, 2018
@codecov
Copy link

codecov bot commented Jun 11, 2018

Codecov Report

Merging #2536 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2536      +/-   ##
==========================================
- Coverage    74.4%   74.38%   -0.02%     
==========================================
  Files         481      481              
  Lines      243488   243592     +104     
==========================================
+ Hits       181157   181200      +43     
- Misses      62331    62392      +61
Impacted Files Coverage Δ
src/intobj.h 100% <ø> (ø) ⬆️
src/objects.h 100% <ø> (ø) ⬆️
src/code.h 100% <ø> (ø) ⬆️
src/plist.h 98.61% <ø> (ø) ⬆️
src/gasman.h 93.1% <ø> (ø) ⬆️
src/compiler.c 87.25% <ø> (ø) ⬆️
src/gapstate.h 100% <ø> (ø) ⬆️
src/scanner.c 92.79% <100%> (ø) ⬆️
src/gap.c 81.6% <0%> (-3.97%) ⬇️
src/code.c 93.35% <0%> (-0.37%) ⬇️
... and 3 more

@fingolfin fingolfin changed the title Various kernel changes: don't include gmp.h from GAP headers; include debug.h everywhere; and more kernel: don't include debug.h everywhere; and more Jun 11, 2018
@fingolfin fingolfin requested a review from markuspf June 11, 2018 08:00
// do not print a message if we found one already on the current line
if (STATE(NrErrLine) == 0) {

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do this?

Also, other people are (as I understand it) working on streams/error things at the moment. I worry this might conflict with them, particularly if it isn't actually doing anything useful?

Copy link
Member Author

Choose a reason for hiding this comment

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

To quote the commit message: "kernel: avoid unnecessarily opening output stream"

There are three error related open PRs: #2529, #2530, #2531. None of them modifies this file. Based on the discussion last week, I am also not aware of plans by @markuspf or @ssiccha to change this function, hopefully they'll correct me on that if necessary. I am aware of more planned changes related to error handling, namely by me, see PR #2520, but there is ni conflict there either...

@fingolfin fingolfin merged commit 4256513 into gap-system:master Jun 15, 2018
@fingolfin fingolfin deleted the mh/kernel-misc branch June 15, 2018 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants