Skip to content

libutil: add terminator option to readLine#15144

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:readline-terminator
Feb 4, 2026
Merged

libutil: add terminator option to readLine#15144
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:readline-terminator

Conversation

@artemist
Copy link
Member

@artemist artemist commented Feb 4, 2026

Some APIs use "lines" that end in \0 instead of \n.

Motivation

This is a rather minimal change that I have already needed in two separate PRs (#15143 and #15026). it would be convenient if we could merge this in separately to my major changes

Context


Add 👍 to pull requests you find important.

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

Some APIs use "lines" that end in `\0` instead of `\n`.
@artemist artemist requested a review from edolstra as a code owner February 4, 2026 17:00
@Ericson2314 Ericson2314 enabled auto-merge February 4, 2026 17:05
@Ericson2314 Ericson2314 added this pull request to the merge queue Feb 4, 2026
Merged via the queue into NixOS:master with commit 936f6c6 Feb 4, 2026
14 checks passed
@Ericson2314 Ericson2314 deleted the readline-terminator branch February 4, 2026 18:35
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.

3 participants