]> Savannah Git Hosting - gnulib.git/commit
getusershell: Don't completely ignore lines that contain a comment.
authorBruno Haible <bruno@clisp.org>
Tue, 27 Aug 2024 20:17:18 +0000 (22:17 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 27 Aug 2024 20:17:18 +0000 (22:17 +0200)
commit8bcadf39ecc6c8729fc809362ba6ebde28667bd6
tree7365fa63212bd026c00c16f6b7f83906ee444cb4
parent834946c12bac3aa3053bbebe5a49c4960f5c7fd2
getusershell: Don't completely ignore lines that contain a comment.

* lib/getusershell.c (getusershell): Truncate the line where a comment
starts, instead of ignoring the line entirely.
ChangeLog
lib/getusershell.c