If it's a binary file and contains a ^Z character, opening the file in text mode causes it to stop reading at the ^Z character. This is expected. What you should do is add O_BINARY to the open flags to force binary handling of the file, regardless of the mount flags. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple