edd82b556567eda529c75a20dd73f9c27b151cbe braney Fri Mar 22 10:48:38 2013 -0700 fix a problem that Hiram found where twoBitIsFile was errAborting if you gave it a directory name which is how netToAxt was calling it. diff --git src/inc/portable.h src/inc/portable.h index bdbfc4c..3369683 100644 --- src/inc/portable.h +++ src/inc/portable.h @@ -136,17 +136,19 @@ /* Read in an unbuffered, unechoed character from keyboard. */ time_t fileModTime(char *pathName); /* Return file last modification time. The units of * these may vary from OS to OS, but you can depend on * later files having a larger time. */ boolean isPipe(int fd); /* determine in an open file is a pipe */ boolean maybeTouchFile(char *fileName); /* If file exists, set its access and mod times to now. If it doesn't exist, create it. * Return FALSE if we have a problem doing so. */ +boolean isRegularFile(char *fileName); +/* Return TRUE if fileName is a regular file. */ #endif /* PORTABLE_H */