]> git.ipfire.org Git - thirdparty/curl.git/commit
tool: determine the correct fopen option for -D
authorEmil Engler <me@emilengler.com>
Sun, 11 Dec 2022 17:08:17 +0000 (18:08 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Dec 2022 08:04:51 +0000 (09:04 +0100)
commit8b1e5df73decb3920ca5476710ee89e1495bb760
tree5d9b6d9820999377bfe969e480e7b405f813fae7
parent1a88b6b6537fd5297a9c4ad0a53d6cef5f1a83fa
tool: determine the correct fopen option for -D

This commit fixes a bug in the dump-header feature regarding the
determination of the second fopen(3) option.

Reported-by: u20221022 on github
See #4753
See #4762
Fixes #10074
Closes #10079
src/tool_operate.c
tests/data/Makefile.inc
tests/data/test3029 [new file with mode: 0644]
tests/data/test3030 [new file with mode: 0644]