wdvi

network DVI viewer
Log | Files | Refs

commit 2898462ee424491dd3afd8f1602e145eab873964
parent 2f5578336266a706c4f8aa1be59a4159f93b06d4
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Mon, 13 Sep 2021 22:07:16 +0000

spell Fflush correctly

Diffstat:
Mpopups.c | 8++++----
Mxdvi.h | 1-
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/popups.c b/popups.c @@ -1340,7 +1340,7 @@ print_do_it() } /* Fork process */ - Fflush(stderr); /* avoid double buffering */ + fflush(stderr); /* avoid double buffering */ print_child.pid = vfork(); if (print_child.pid == 0) { /* if child */ int fd; @@ -1350,7 +1350,7 @@ print_do_it() fd = open(dvi_name, O_RDONLY); if (fd < 0) { perror(dvi_name); - Fflush(stderr); + fflush(stderr); _exit(1); } if (fd > 0) { @@ -1373,12 +1373,12 @@ print_do_it() if (setsid() == -1) { /* so we can kill the process group */ perror("setsid"); - Fflush(stderr); + fflush(stderr); _exit(1); } (void) execvp(*argv, argv); warn("Execvp of '%s' failed.", *argv); - Fflush(stderr); + fflush(stderr); _exit(1); } diff --git a/xdvi.h b/xdvi.h @@ -50,7 +50,6 @@ NOTE: #define Printf (void) printf #define Sprintf (void) sprintf #define Fseek (void) fseek -#define Fflush (void) fflush /******************************** * Types and data *