Follow-up Comment #1, bug #49226 (project wget):

I'm new to the wget community, and I'm starting to contribute and would like
to work on this bug, so here are a few things I understand -

As of I can see in warc_start_new_file(bool meta) function in warc.c,

--> existing warc_current_file is closed.

--> warc_current_file_number is incremented.

--> a NEW warc file (with wb+ rights) is created to which warcinfo_record is
added with all the headers and other relevant things.

Instead of this, (Possible solutio?)

--> open the warc_current_file with a rights ( append ) ?

--> OR just don't close it, and keep the file pointer ?

My doubt is I think there will be multiple WARC files, each of them having
headers and other stuff same except the metadata.

Will it actually get overwritten? That's why the above function is there
right? ( to open a NEW file, not to overwrite it? )

Thank you so much for your patience!
Vijeth

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49226>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to