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
This commit is contained in:
Emil Engler 2022-12-11 18:08:17 +01:00 committed by Daniel Stenberg
parent 1a88b6b653
commit 8b1e5df73d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 98 additions and 2 deletions

View file

@ -248,7 +248,7 @@ test2500 \
test3000 test3001 test3002 test3003 test3004 test3005 test3006 test3007 \
test3008 test3009 test3010 test3011 test3012 test3013 test3014 test3015 \
test3016 test3017 test3018 test3019 test3020 test3021 test3022 test3023 \
test3024 test3025 test3026 test3027 test3028 \
test3024 test3025 test3026 test3027 test3028 test3029 test3030 \
\
test3100 test3101 \
test3200