]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: sink: replace S_IRUSR, S_IWUSR with their octal value
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Aug 2022 13:03:12 +0000 (15:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Aug 2022 13:03:12 +0000 (15:03 +0200)
commit8e87705c21ba09ec249fcdbdcb0c3eaa4a162091
tree787be1c66875cf6c08026778cb072069d00be37b
parentbfb077acffef96f3dbda66d9ceeb62feb66565e6
BUILD: sink: replace S_IRUSR, S_IWUSR with their octal value

The build broke on freebsd with S_IRUSR undefined after commit 0b8e9ceb1
("MINOR: ring: add support for a backing-file"). Maybe another include
is needed there, but the point is that we really don't care about these
symbolic names, file modes are more readable as 0600 than via these
cryptic names anyway, so let's go back to 0600. This will teach me not
to try to make things too clean.

No backport is needed.
src/sink.c