* lib/getusershell.c (getusershell): Truncate the line where a comment
starts, instead of ignoring the line entirely.
+2024-08-27 Bruno Haible <bruno@clisp.org>
+
+ 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.
+
2024-08-27 Bruno Haible <bruno@clisp.org>
fts: Don't assume that a pointer is as wide as a 'long'.
if (comment != NULL)
{
/* Trim the comment mark. */
- comment = '\0';
+ *comment = '\0';
end = comment;
}
else