]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Remove file mode hardcode from file_write
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 6 May 2024 19:19:18 +0000 (13:19 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 6 May 2024 19:20:16 +0000 (13:20 -0600)
commitcffd42181ec2f4958c334edf6b88453a88abb09c
treec76f981f8b857e5ae9dd89cd56950b0a665d287d
parente7f04a1f645fefe5022e010d2ebc9cd53a5b8205
Remove file mode hardcode from file_write

This function was always including the binary flag ("b") during
fopen(2), which seems to be inappropriate for the --output.roa and
--output.bgpsec files.

Well, the Unixes don't do anything with this flag, so this is more of a
semantic fine-tune than a bugfix.
src/file.c
src/file.h
src/http/http.c
src/output_printer.c
src/rrdp.c