=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/direxpand.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/make/direxpand.c 2007/09/17 09:28:36 1.3 --- src/usr.bin/make/direxpand.c 2007/09/17 12:22:52 1.4 *************** *** 1,4 **** ! /* $OpenBSD: direxpand.c,v 1.3 2007/09/17 09:28:36 espie Exp $ */ /* * Copyright (c) 1999,2007 Marc Espie. * --- 1,4 ---- ! /* $OpenBSD: direxpand.c,v 1.4 2007/09/17 12:22:52 espie Exp $ */ /* * Copyright (c) 1999,2007 Marc Espie. * *************** *** 95,101 **** LstNode ln; /* Current node */ for (ln = Lst_First(path); ln != NULL; ln = Lst_Adv(ln)) ! Dir_MatchFilesi(word, eword, (struct PathEntry *)Lst_Datum(ln), expansions); } /*- --- 95,102 ---- LstNode ln; /* Current node */ for (ln = Lst_First(path); ln != NULL; ln = Lst_Adv(ln)) ! Dir_MatchFilesi(word, eword, (struct PathEntry *)Lst_Datum(ln), ! expansions); } /*- *************** *** 112,119 **** static void DirExpandWildi(const char *word, const char *eword, Lst path, Lst expansions) { ! const char *cp; ! const char *slash; /* keep track of first slash before wildcard */ slash = memchr(word, '/', eword - word); if (slash == NULL) { --- 113,120 ---- static void DirExpandWildi(const char *word, const char *eword, Lst path, Lst expansions) { ! const char *cp; ! const char *slash; /* keep track of first slash before wildcard */ slash = memchr(word, '/', eword - word); if (slash == NULL) {