← Commit list

c2dec52d3

Denys Vlasenko
Denys Vlasenko
2026-09-22
SUCCESS Duration: 179s

Subject

libpwdgrp: tokenizer fix for trailing whitespace removeal.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libpwdgrp/pwd_grp.c+1 -1
@@ -171,7 +171,7 @@ static int tokenize(char *buffer, int ch)
if (p != end)
overlapping_strcpy(p, end);
num_fields++;
- if (*end == '\0') {
+ if (*p == '\0') {
S.tokenize_end = p + 1;
return num_fields;
}