* [PATCH 4/4] xap_helper: enable stderr assignment on DragonFly
2023-12-01 2:07 6% [PATCH 0/4] DragonFly-related fixes Eric Wong
@ 2023-12-01 2:07 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-12-01 2:07 UTC (permalink / raw)
To: meta
It looks like DragonFly inherited this from FreeBSD to
allow us to save us some syscalls.
---
lib/PublicInbox/xap_helper.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h
index c1ab66f3..1f8c426b 100644
--- a/lib/PublicInbox/xap_helper.h
+++ b/lib/PublicInbox/xap_helper.h
@@ -64,7 +64,7 @@
# define MY_DO_OPTRESET() do { optind = optreset = 1; } while (0)
#endif
-#if defined(__FreeBSD__) || defined(__GLIBC__)
+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__GLIBC__)
# define STDERR_ASSIGNABLE (1)
#else
# define STDERR_ASSIGNABLE (0)
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] DragonFly-related fixes
@ 2023-12-01 2:07 6% Eric Wong
2023-12-01 2:07 7% ` [PATCH 4/4] xap_helper: enable stderr assignment on DragonFly Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2023-12-01 2:07 UTC (permalink / raw)
To: meta
2/4 probably affects NetBSD and OpenBSD, too, but tests don't
always fail...
Eric Wong (4):
t/xap_helper: make sendmsg errors more obvious
xap_helper.h: fix non-assignable stderr case
tests: note kevent+tmpfs failures on DragonFly <= 6.4
xap_helper: enable stderr assignment on DragonFly
lib/PublicInbox/TestCommon.pm | 23 ++++++++++++++++++++++-
lib/PublicInbox/xap_helper.h | 4 ++--
t/dir_idle.t | 7 +++++--
t/kqnotify.t | 2 +-
t/xap_helper.t | 1 +
5 files changed, 31 insertions(+), 6 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-12-01 2:07 6% [PATCH 0/4] DragonFly-related fixes Eric Wong
2023-12-01 2:07 7% ` [PATCH 4/4] xap_helper: enable stderr assignment on DragonFly Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).