Skip to content

fix issue 19510 - random and spurious error about a missing NOLOGO.d file#9142

Merged
dlang-bot merged 1 commit intostablefrom
unknown repository
Dec 25, 2018
Merged

fix issue 19510 - random and spurious error about a missing NOLOGO.d file#9142
dlang-bot merged 1 commit intostablefrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Dec 25, 2018

There was a missing strlen on a static array that caused random things. One of them is that replaceName failed and the linker name was set to dmd filename, causing dmd to be called with the linker arguments.

@dlang-bot
Copy link
Contributor

dlang-bot commented Dec 25, 2018

Thanks for your pull request and interest in making D better, @bbasile! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the annotated coverage diff directly on GitHub with CodeCov's browser extension
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Auto-close Bugzilla Severity Description
19510 regression [2.084 REG] random and spurious error about a missing NOLOGO.d file

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "stable + dmd#9142"

Copy link
Contributor

@thewilsonator thewilsonator left a comment

Choose a reason for hiding this comment

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

Can you do a test for this?

@ghost
Copy link
Author

ghost commented Dec 25, 2018

I'll try to fix the issue in a first place.

@ghost
Copy link
Author

ghost commented Dec 25, 2018

I don't know how to test this (because of the random nature of the bug) but I'm super confident about what was the problem and that the fix is good.

@ghost ghost changed the base branch from master to stable December 25, 2018 14:05
@jacob-carlborg
Copy link
Contributor

Please squash the commits.

@ghost
Copy link
Author

ghost commented Dec 25, 2018

ready for merge.

@dlang-bot dlang-bot merged commit 9f5527f into dlang:stable Dec 25, 2018
@ghost ghost deleted the null-terminated-bugs-fiesta branch December 25, 2018 18:11
@andre2007
Copy link

Thank you for solving this nasty bug

@ghost
Copy link
Author

ghost commented Dec 27, 2018

your're welcome @andre2007, it was a typical "C" bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants