=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/main.c,v retrieving revision 1.26 retrieving revision 1.27 diff -c -r1.26 -r1.27 *** src/usr.bin/make/main.c 1999/12/18 21:58:07 1.26 --- src/usr.bin/make/main.c 1999/12/19 00:04:25 1.27 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.26 1999/12/18 21:58:07 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.27 1999/12/19 00:04:25 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* *************** *** 49,55 **** #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: main.c,v 1.26 1999/12/18 21:58:07 espie Exp $"; #endif #endif /* not lint */ --- 49,55 ---- #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else ! static char rcsid[] = "$OpenBSD: main.c,v 1.27 1999/12/19 00:04:25 espie Exp $"; #endif #endif /* not lint */ *************** *** 713,719 **** Dir_Expand (_PATH_DEFSYSMK, sysIncPath, sysMkPath); if (Lst_IsEmpty(sysMkPath)) Fatal("make: no system rules (%s).", _PATH_DEFSYSMK); ! ln = Lst_Find(sysMkPath, (ClientData)NULL, ReadMakefile); if (ln != NULL) Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); } --- 713,719 ---- Dir_Expand (_PATH_DEFSYSMK, sysIncPath, sysMkPath); if (Lst_IsEmpty(sysMkPath)) Fatal("make: no system rules (%s).", _PATH_DEFSYSMK); ! ln = Lst_Find(sysMkPath, ReadMakefile, (ClientData)NULL); if (ln != NULL) Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); } *************** *** 721,727 **** if (!Lst_IsEmpty(makefiles)) { LstNode ln; ! ln = Lst_Find(makefiles, (ClientData)NULL, ReadMakefile); if (ln != NULL) Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); } else if (!ReadMakefile("BSDmakefile", NULL)) --- 721,727 ---- if (!Lst_IsEmpty(makefiles)) { LstNode ln; ! ln = Lst_Find(makefiles, ReadMakefile, (ClientData)NULL); if (ln != NULL) Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); } else if (!ReadMakefile("BSDmakefile", NULL))