Commit 1e995084 authored by cypherpunks's avatar cypherpunks Committed by Nick Mathewson
Browse files

Define O_NOFOLLOW on platforms that do not have it

Fixes #18339
parent a5081191
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@
#ifndef O_TEXT
#define O_TEXT 0
#endif
#ifndef O_NOFOLLOW
#define O_NOFOLLOW 0
#endif

/* Replace assert() with a variant that sends failures to the log before
 * calling assert() normally.