summaryrefslogtreecommitdiffhomepage
path: root/bilingual_sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'bilingual_sort.c')
-rw-r--r--bilingual_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bilingual_sort.c b/bilingual_sort.c
index 0ea5e0c..870e3da 100644
--- a/bilingual_sort.c
+++ b/bilingual_sort.c
@@ -22,7 +22,7 @@ main(void)
line[256];
/* We need line buffering to make gawk interact with this properly */
- setvbuf(stdout, NULL, _IOLBF, 0);
+ setlinebuf(stdout);
setlocale(LC_ALL, "");
while (true) {