*** input/newsspool.c.orig Tue Apr 28 23:42:23 1998 --- input/newsspool.c Tue Apr 28 23:43:29 1998 *************** *** 156,162 **** register char *p; p = strsave(fullartfile("in.coming/nspool.XXXXXX")); - mktemp(p); return(p); } --- 156,161 ---- *************** *** 169,175 **** { FILE *f; ! f = fopen(name, "w"); if (f == NULL) error("unable to create temporary `%s'", name); if (debug) --- 168,174 ---- { FILE *f; ! f = fdopen(mkstemp(name), "w"); if (f == NULL) error("unable to create temporary `%s'", name); if (debug)