Hi,
I think I may have found the bug. Could someone test the attached patch and report if it fixes the problem or not ? Thanks in advance, Maxime
Index: subr_hints.c =================================================================== RCS file: /space2/ncvs/src/sys/kern/subr_hints.c,v retrieving revision 1.4 diff -u -p -r1.4 subr_hints.c --- subr_hints.c 17 Apr 2002 13:06:36 -0000 1.4 +++ subr_hints.c 27 Apr 2002 10:42:04 -0000 @@ -150,9 +150,11 @@ res_find(int *line, int *startln, break; if (use_kenv) cp = kenvp[++i]; - while (*cp != '\0') + else { + while (*cp != '\0') + cp++; cp++; - cp++; + } if (*cp == '\0') { cp = NULL; break;