Skip to content

Commit 07a8968

Browse files
enh-googlelandley
authored andcommitted
xputsl: fix the *other* line in this function :-)
Some of the grep tests were still failing because we weren't flushing stdout --- xflush takes a bool that says whether to actually flush, so we need to pass 1, not 0.
1 parent 050e36a commit 07a8968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/xwrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void xprintf(char *format, ...)
159159
// Put string with length (does not append newline)
160160
void xputsl(char *s, int len)
161161
{
162-
xflush(0);
162+
xflush(1);
163163
xwrite(1, s, len);
164164
}
165165

0 commit comments

Comments
 (0)