Commit ee9fbf50 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Remove -u (unbuffered output) option.

With proper flushing happening on idle, this option is obsolete.
parent b5fa8c5f
......@@ -80,7 +80,7 @@ openout(int append)
AN(LOG.w_arg);
if (LOG.B_opt)
LOG.fo = VSL_WriteOpen(VUT.vsl, LOG.w_arg, append, VUT.u_opt);
LOG.fo = VSL_WriteOpen(VUT.vsl, LOG.w_arg, append, 0);
else
LOG.fo = fopen(LOG.w_arg, append ? "a" : "w");
if (LOG.fo == NULL)
......
......@@ -67,7 +67,6 @@ VUT_OPT_P
VUT_OPT_q
VUT_OPT_r
VSL_OPT_T
VUT_OPT_u
VSL_OPT_v
VUT_OPT_V
LOG_OPT_w
......
......@@ -43,7 +43,6 @@ struct VUT {
char *P_arg;
char *q_arg;
char *r_arg;
int u_opt;
/* State */
struct VSL_data *vsl;
......
......@@ -78,11 +78,6 @@
"Read log in binary file format from this file." \
)
#define VUT_OPT_u \
VOPT("u", "[-u]", "Binary file output unbuffered", \
"Unbuffered binary file output mode." \
)
#define VUT_OPT_V \
VOPT("V", "[-V]", "Version", \
"Print version information and exit." \
......
......@@ -156,10 +156,6 @@ VUT_Arg(int opt, const char *arg)
/* Binary file input */
REPLACE(VUT.r_arg, arg);
return (1);
case 'u':
/* Unbuffered binary output */
VUT.u_opt = 1;
return (1);
case 'V':
/* Print version number and exit */
VCS_Message(VUT.progname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment