Module Name: src Committed By: christos Date: Wed Apr 24 01:44:51 UTC 2024
Modified Files: src/usr.sbin/mtree: create.c Log Message: For the NetBSD tools build we provide our own fts.h not FreeBSD's so the comparator should have the NetBSD signature. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/usr.sbin/mtree/create.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/mtree/create.c diff -u src/usr.sbin/mtree/create.c:1.77 src/usr.sbin/mtree/create.c:1.78 --- src/usr.sbin/mtree/create.c:1.77 Sat Dec 2 08:34:48 2023 +++ src/usr.sbin/mtree/create.c Tue Apr 23 21:44:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: create.c,v 1.77 2023/12/02 13:34:48 christos Exp $ */ +/* $NetBSD: create.c,v 1.78 2024/04/24 01:44:51 christos Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: create.c,v 1.77 2023/12/02 13:34:48 christos Exp $"); +__RCSID("$NetBSD: create.c,v 1.78 2024/04/24 01:44:51 christos Exp $"); #endif #endif /* not lint */ @@ -84,7 +84,7 @@ static uid_t uid; static mode_t mode; static u_long flags; -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) && !defined(HAVE_NBTOOL_CONFIG_H) #define FTS_CONST const #else #define FTS_CONST