Module Name: src Committed By: sjg Date: Mon May 20 19:14:12 UTC 2024
Modified Files: src/usr.bin/make: dir.c Log Message: make: cleanup style in FindFile Since we removed the last check for isinclude, restore to the previous indentation etc. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.290 src/usr.bin/make/dir.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.bin/make/dir.c diff -u src/usr.bin/make/dir.c:1.289 src/usr.bin/make/dir.c:1.290 --- src/usr.bin/make/dir.c:1.289 Mon May 20 16:04:46 2024 +++ src/usr.bin/make/dir.c Mon May 20 19:14:12 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: dir.c,v 1.289 2024/05/20 16:04:46 sjg Exp $ */ +/* $NetBSD: dir.c,v 1.290 2024/05/20 19:14:12 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -132,7 +132,7 @@ #include "job.h" /* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */ -MAKE_RCSID("$NetBSD: dir.c,v 1.289 2024/05/20 16:04:46 sjg Exp $"); +MAKE_RCSID("$NetBSD: dir.c,v 1.290 2024/05/20 19:14:12 sjg Exp $"); /* * A search path is a list of CachedDir structures. A CachedDir has in it the @@ -1206,8 +1206,7 @@ FindFile(const char *name, SearchPath *p return file; } - if (seenDotLast - && (file = DirFindDot(name, base)) != NULL) + if (seenDotLast && (file = DirFindDot(name, base)) != NULL) return file; }