Skip to content

Fix mingw build#14702

Merged
edolstra merged 2 commits into
masterfrom
fix-mingw
Dec 3, 2025
Merged

Fix mingw build#14702
edolstra merged 2 commits into
masterfrom
fix-mingw

Conversation

@edolstra
Copy link
Copy Markdown
Member

@edolstra edolstra commented Dec 3, 2025

Motivation

Also fixes a bug in FdSource::restart().

Fixes #14662.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@edolstra edolstra requested a review from Ericson2314 as a code owner December 3, 2025 18:47
@github-actions github-actions Bot added new-cli Relating to the "nix" command repl The Read Eval Print Loop, "nix repl" command and debugger fetching Networking with the outside (non-Nix) world, input locking labels Dec 3, 2025
@edolstra edolstra enabled auto-merge December 3, 2025 18:49
Copy link
Copy Markdown
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

Thank you @edolstra, sorry you beat me to fixing this!

@edolstra edolstra disabled auto-merge December 3, 2025 19:05
Comment thread src/libutil/serialise.cc
buffer.reset();
read = bufPosOut = bufPosOut = 0;
if (lseek(fd, 0, SEEK_SET) == -1)
read = bufPosIn = bufPosOut = 0;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yikes. Sorry for that!

@edolstra edolstra added this pull request to the merge queue Dec 3, 2025
Merged via the queue into master with commit 5b95745 Dec 3, 2025
21 checks passed
@edolstra edolstra deleted the fix-mingw branch December 3, 2025 20:40
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command repl The Read Eval Print Loop, "nix repl" command and debugger

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MinGW build is broken again

3 participants