From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 63F961F513 for ; Fri, 1 Dec 2023 02:07:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1701396426; bh=jNPd5l/d+qhbPXxHJ7cjfRBOsDkB8OaXXXT4wv0P3VA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GsAOfmKns4kf1athQ1vXxYYuhm6IyIXxG06DTcjF/EverDfxw+qHqEjNqfKpE+QBZ FckfJKFavphcHnsw74f8rTjLDcVEzl5ke26GHPM9TO5Hjt08w472hSQIjHDCtnRFu8 Q7gjaV2g6xbRwY9T0IVm2lLmGD1mowt8++hYuibs= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/4] xap_helper: enable stderr assignment on DragonFly Date: Fri, 1 Dec 2023 02:07:05 +0000 Message-ID: <20231201020705.2752562-5-e@80x24.org> In-Reply-To: <20231201020705.2752562-1-e@80x24.org> References: <20231201020705.2752562-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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)