From nobody Fri Apr 24 15:29:29 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g2H221H5wz6bSgy for ; Fri, 24 Apr 2026 15:29:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g2H216tp2z3DYR for ; Fri, 24 Apr 2026 15:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777044570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UKFEVCHa+H/gRofzQXWh6HH+MoiNcsPu4aQK/Gzn68Q=; b=SFJJ19u3kzlWuLtkZ7DDBbYDKGQ52Gqfzv78JI1NKlJ3dDQMMxhzn4TJkj7cK1VVkIo9+0 4UKxPIM9XaxNFr9rNLH2BiJxzHnJaOFfYvtP1YCExtxnsLrS3SL3uihij69dfE31rNqwzw qpUtFFcH27o9SCafdKehX0KNmc9s7ZgmbnXwRLQkI3FT8Xt6qEiOhfwU2rj4QO29bRJw8j KRVVlgaXHmFl1BNN260ixTAzpI1i7CA1HCuPqod/5+EcEXx4Cmz+6KlEAfarvC1HT+XAeW kiWAI2uux782kLEnt+2rEDjGgFFR3GYSPsdWwExqf2HsHod4OD5U/Jkf7/ggYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777044570; a=rsa-sha256; cv=none; b=I4DUHsnW36Y6535KYPCIsZoVW3Q0SrD583Xw8c5F/nBIcPeD1G0EJQwnv3lTUNUnhzlPRD BcqVxGgQ0AO2XSZngApOcEOgVD6jpsD46UJq+B56M9QgMEqDxKluPtk0RrxJH9IxTM8A1T Es8JCmXGfEvVLdLS5RhF5/NEFKsq9E0wC/C0yLbvhCLpUH4+q2anm4djhlnn+GlmP/mBz4 Q65+z9Zyt5E3okbyYYT0b+oO26b+hUe77+Is2/junEUuxV0bmVb2wFs3AWndqzW5twOoeN 7gNoGhu/9sp8JI0ibou0JdQBqh6fLZMktArBgBqvRTEDHyCiDhbl7ZIOuiK09Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777044570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UKFEVCHa+H/gRofzQXWh6HH+MoiNcsPu4aQK/Gzn68Q=; b=c0JEllwRhbcchifdtLnP8noQETw4s0mr3Ng9MT5Ji8u09eKz9nYhGuMIBpWPxwMIVe0S4N WVwP3X73CT16IUNkMvRZwxWnctV9s1wGdhz1HWuch+ElwbCmBnxN3Dng6CoRI8FwTZZ6hq DZBhn9OLAtG3uGV+54QX7kkHxe2lr8hxXQyu+KTGqzv9BrgLRutmbiqdLgcBOhrCR5bnxa 5a0tr0JQVRXErjqyxKP6HrWcaOR5WIo0wY3Os14yvKCe9ruPwXNzZBb+BEpGx0pFMAUQto bpZvTexWFxxbuTN2OMhLHE4g5WHyu3QKSW/KzaWB9vI/MVXdOGdqSx0Rj3zjWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g2H216FzBz17Bj for ; Fri, 24 Apr 2026 15:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 34ab2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 24 Apr 2026 15:29:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Alex Richardson From: John Baldwin Subject: git: 27a7b982ba6e - stable/15 - libfetch: Fix -Wunterminated-string-initialization List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 27a7b982ba6e008d10062de185ffd29fad8a8fc7 Auto-Submitted: auto-generated Date: Fri, 24 Apr 2026 15:29:29 +0000 Message-Id: <69eb8c59.34ab2.63aa431b@gitrepo.freebsd.org> The branch stable/15 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=27a7b982ba6e008d10062de185ffd29fad8a8fc7 commit 27a7b982ba6e008d10062de185ffd29fad8a8fc7 Author: Alex Richardson AuthorDate: 2025-12-16 18:08:51 +0000 Commit: John Baldwin CommitDate: 2026-04-24 15:26:39 +0000 libfetch: Fix -Wunterminated-string-initialization This defaults to an error in clang HEAD, use a char-by-char initializer instead. Reviewed by: emaste, jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52532 (cherry picked from commit 79f578531f21aa57307cbffd858a8a89e562aa5c) --- lib/libfetch/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index f8a0517b6a5b..88b5e5a2f096 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -135,7 +135,7 @@ static struct fetcherr socks5_errlist[] = { }; /* End-of-Line */ -static const char ENDL[2] = "\r\n"; +static const char ENDL[2] = { '\r', '\n' }; /*** Error-reporting functions ***********************************************/