+void err_setup(void)
+{
+ char fnbuf[FNSIZ];
+
+// This seems like it's unnecessary, as token.c seems to take care of this all by itself.
+// Can restore if it's really needed. If not, into the bit bucket it goes. :-)
+// setfnum(cfileno);
+
+ if (err_fname != NULL)
+ {
+ strcpy(fnbuf, err_fname);
+
+ if (*fnbuf == EOS)
+ strcpy(fnbuf, firstfname);
+
+ err_fname = NULL;
+
+ if ((err_fd = open(fnbuf, _OPEN_FLAGS, _PERM_MODE)) < 0)
+ cantcreat(fnbuf);