Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ee9fbf50
Commit
ee9fbf50
authored
Nov 06, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove -u (unbuffered output) option.
With proper flushing happening on idle, this option is obsolete.
parent
b5fa8c5f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
12 deletions
+1
-12
varnishlog.c
bin/varnishlog/varnishlog.c
+1
-1
varnishlog_options.h
bin/varnishlog/varnishlog_options.h
+0
-1
vut.h
include/vut.h
+0
-1
vut_options.h
include/vut_options.h
+0
-5
vut.c
lib/libvarnishtools/vut.c
+0
-4
No files found.
bin/varnishlog/varnishlog.c
View file @
ee9fbf50
...
...
@@ -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
)
...
...
bin/varnishlog/varnishlog_options.h
View file @
ee9fbf50
...
...
@@ -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
...
...
include/vut.h
View file @
ee9fbf50
...
...
@@ -43,7 +43,6 @@ struct VUT {
char
*
P_arg
;
char
*
q_arg
;
char
*
r_arg
;
int
u_opt
;
/* State */
struct
VSL_data
*
vsl
;
...
...
include/vut_options.h
View file @
ee9fbf50
...
...
@@ -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." \
...
...
lib/libvarnishtools/vut.c
View file @
ee9fbf50
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment