Date: Thu, 05 Feb 2026 15:27:43 +0000 From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ee44ab936e84 - main - diff: Fix build Message-ID: <6984b6ef.3fd17.4d0d372d@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=ee44ab936e84bacaa49847d36aabdf280f9fecce commit ee44ab936e84bacaa49847d36aabdf280f9fecce Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2026-02-05 15:18:09 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-02-05 15:26:01 +0000 diff: Fix build rc must be defined first. Fixes: 590126789c84 MFC after: 1 week X-MFC with: 590126789c84 --- usr.bin/diff/diffdir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/diff/diffdir.c b/usr.bin/diff/diffdir.c index bd8ef73e785a..0e9beb80e6a1 100644 --- a/usr.bin/diff/diffdir.c +++ b/usr.bin/diff/diffdir.c @@ -235,6 +235,8 @@ static void diffit(struct dirent *dp, char *path1, size_t plen1, struct dirent *dp2, char *path2, size_t plen2, int flags) { + int rc; + flags |= D_HEADER; strlcpy(path1 + plen1, dp->d_name, PATH_MAX - plen1);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6984b6ef.3fd17.4d0d372d>
