2 See whether a filename is legal for the spool directory. */
10 /* See whether a file is a spool file. Spool file names are specially
11 crafted to hand around to other UUCP packages. They always begin
12 with 'C', 'D' or 'X', and the second character is always a period.
13 The remaining characters may be any printable characters, since
14 they may include a grade set by another system. */
22 if (*zfile != 'C' && *zfile != 'D' && *zfile != 'X')
26 for (z = zfile + 2; *z != '\0'; z++)
27 if (*z == '/' || ! isprint (BUCHAR (*z)) || isspace (BUCHAR (*z)))