Re: [PATCH setup 3/4] Log errors from archive_tar.cc

2015-03-05 Thread Corinna Vinschen
On Mar 5 15:09, Jon TURNEY wrote: > On 05/03/2015 14:17, Corinna Vinschen wrote: > >On Mar 5 13:44, Jon TURNEY wrote: > >>@@ -170,8 +163,8 @@ archive_tar::next_file_name () > >>sscanf (state.tar_header.size, "%Io", &state.file_length); > >>state.file_offset = 0; > >> > >>-// vp2 (_tar_vf

Re: [PATCH setup 3/4] Log errors from archive_tar.cc

2015-03-05 Thread Jon TURNEY
On 05/03/2015 14:17, Corinna Vinschen wrote: On Mar 5 13:44, Jon TURNEY wrote: @@ -170,8 +163,8 @@ archive_tar::next_file_name () sscanf (state.tar_header.size, "%Io", &state.file_length); state.file_offset = 0; -// vp2 (_tar_vfile, "%c %9d %s\n", state.tar_header.typeflag, -// s

Re: [PATCH setup 3/4] Log errors from archive_tar.cc

2015-03-05 Thread Corinna Vinschen
On Mar 5 13:44, Jon TURNEY wrote: > @@ -170,8 +163,8 @@ archive_tar::next_file_name () >sscanf (state.tar_header.size, "%Io", &state.file_length); >state.file_offset = 0; > > -// vp2 (_tar_vfile, "%c %9d %s\n", state.tar_header.typeflag, > -// state.file_length, state.filename); >

[PATCH setup 3/4] Log errors from archive_tar.cc

2015-03-05 Thread Jon TURNEY
archive_tar.cc contains some output directly using fprintf(stderr,), convert that to using the printf-style log adaptors. --- ChangeLog | 5 + archive_tar.cc | 25 + 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47203