From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202608 header.b=QRlW4L0D; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id D96EB5A0262 for ; Fri, 21 Aug 2026 07:04:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202608; t=1787288649; bh=Jvg95Br6FN13Q27KC7vTkR9ZvaIxcdMHHYdjuFX9bTA=; h=From:To:Cc:Subject:Date:From; b=QRlW4L0Df6GFKkPVEfYOU+zk0Gxpw7FTuz2z/y8yWkWxXaFemedPfXeXItjJju1Uq 0LoHtmKRlz9SSA+izv4n07KdlcdONVwLD3rVxUMpu3p+TXTSG7TdBMMoHtZ0rdEhUS uJr4NOOetoZNmYftnwR6oK0eHml5KgP17z9NXud7kQI4t5AJmdB/UMHuHQsrLJMW5w iCSorL+lXjS+nXm/IJDrzUe0AksAFiymPw7tz5uX1iMTPYe5G33hXAc36E/SP1/gbU +9oXqTeO8O14bz37tERR/XsPCcHA7kNFbT1iO0HbIwLCoqpsr9P3cSSUR/MrjkP2xn oeovd8LeanOxw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4hR7WY2bbxz4wHf; Fri, 21 Aug 2026 15:04:09 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top, Laurent Vivier Subject: [PATCH 0/5] Settings for Zed editor and minor fixups Date: Fri, 21 Aug 2026 15:03:58 +1000 Message-ID: <20260821050403.170891-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.53.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: K4NVGAB6XSJB6XLO4H77OPNVXVU2HQT2 X-Message-ID-Hash: K4NVGAB6XSJB6XLO4H77OPNVXVU2HQT2 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I've been playing with the Zed editor again. It's default settings don't quite match passt's style, so add a config file to make it do the right thing. Also update some of the config for clangd to suppress bogus warnings the way Zed invokes it. Between them these also found a handful of minor but real code warts, so fix those, too. David Gibson (5): clangd: Add _GNU_SOURCE to default clangd options util: Eliminate a stray trailing whitespace util: Add missing O_CLOEXEC for !HAS_GETRANDOM path util, pasta: Remove some unneeded #includes Add Zed editor settings .clangd | 2 +- .zed/settings.json | 4 ++++ pasta.c | 1 - util.c | 7 ++----- 4 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .zed/settings.json -- 2.53.0