Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
827572e1
Commit
827572e1
authored
Jan 17, 2008
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2310 [bug] Flush stdout before emitting debug/fatal messages.
[RT #17501]
parent
b0b4ba75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGES
CHANGES
+3
-0
bin/dig/dighost.c
bin/dig/dighost.c
+3
-1
No files found.
CHANGES
View file @
827572e1
2310 [bug] Flush stdout before emitting debug/fatal messages.
[RT #17501]
2309. [cleanup] Fix Coverity warnings in lib/dns/acl.c and iptable.c.
[RT #17455]
...
...
bin/dig/dighost.c
View file @
827572e1
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.30
6
2008/01/1
4
2
3
:46:
56 tbox
Exp $ */
/* $Id: dighost.c,v 1.30
7
2008/01/1
7
2
1
:46:
33 marka
Exp $ */
/*! \file
* \note
...
...
@@ -493,6 +493,7 @@ void
fatal
(
const
char
*
format
,
...)
{
va_list
args
;
fflush
(
stdout
);
fprintf
(
stderr
,
"%s: "
,
progname
);
va_start
(
args
,
format
);
vfprintf
(
stderr
,
format
,
args
);
...
...
@@ -510,6 +511,7 @@ debug(const char *format, ...) {
va_list
args
;
if
(
debugging
)
{
fflush
(
stdout
);
va_start
(
args
,
format
);
vfprintf
(
stderr
,
format
,
args
);
va_end
(
args
);
...
...
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