Skip to content

bug: Let -D merge headers in one file again#4762

Closed
cvengler wants to merge 2 commits intocurl:masterfrom
cvengler:2019-12-dump-headers-append-fix
Closed

bug: Let -D merge headers in one file again#4762
cvengler wants to merge 2 commits intocurl:masterfrom
cvengler:2019-12-dump-headers-append-fix

Conversation

@cvengler
Copy link
Copy Markdown
Contributor

@cvengler cvengler commented Dec 27, 2019

Fix for #4753
We check if this is the first run of the function, if so create a new file. The function is getting executed node by node of the linked list so we just check if it the first node by checking if the previous element is NULL.

@jay
Copy link
Copy Markdown
Member

jay commented Dec 27, 2019

Why do the tests need to be adjusted? Also, IIRC the way header file used to work was it was opened once, does something close it now?

@cvengler
Copy link
Copy Markdown
Contributor Author

Why do the tests need to be adjusted?

They were changed with b889408

@cvengler
Copy link
Copy Markdown
Contributor Author

Also, IIRC the way header file used to work was it was opened once, does something close it now?

Maybe src/tool_cb_hdr.c:194? (Not 100% sure, did a quick look)

@bagder
Copy link
Copy Markdown
Member

bagder commented Jan 17, 2020

  1. The metalink tests fail. Both the freebsd ones and the travis ones on Linux.
  2. "This branch cannot be rebased safely"

@cvengler
Copy link
Copy Markdown
Contributor Author

@bagder Will rebase it now and try to fix the tests

@cvengler
Copy link
Copy Markdown
Contributor Author

The patch itself just got rebased. I will adjust the tests now

@cvengler
Copy link
Copy Markdown
Contributor Author

I adjusted the tests with a695a36. They should pass now

@bagder
Copy link
Copy Markdown
Member

bagder commented Jan 21, 2020

Thanks!

@bagder bagder closed this in 1774dbd Jan 21, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants