US-ASCII is a subset of UTF-8 so can be handled directly when UTF-8 is
[mmh] / sbr / context_read.c
index d2524c7..3084ff5 100644 (file)
@@ -28,8 +28,6 @@
 #include <errno.h>                             /* system call errors */
 #include <pwd.h>                               /* structure for getpwuid() results */
 
-extern int     errno;                          /* system call error number */
-
 void
 context_read (void)
 {
@@ -126,7 +124,7 @@ context_read (void)
 
     if ((ib = lkfopen (ctxpath, "r"))) {
        readconfig ((struct node **) 0, ib, cp, 1);
-       lkfclose (ib);
+       lkfclose (ib, ctxpath);
     }
 
     return;