Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000501c07f27$8a783640$2397a281@marisa.space.swri.edu> From: "Joey Mukherjee" To: Subject: Problem with F:/ and /cygdrive/f/ solved! Date: Mon, 15 Jan 2001 13:15:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Thanks for all the help on the F:/ and /cygdrive/f/ difference and as many had noted, it was indeed the O_BINARY flag which can make the difference. I did search the FAQ before posting but missed it since the answer was hidden under the "DOS/Unix to CR/LF" question which I did not think was my problem. However, is O_BINARY a standard flag for open? Adding that flag on Solaris seems to fail in compile since that symbol is not defined or mentioned in the open man page. I'd hate to add #ifdef around every open... Why is text mode the default for open? Wouldn't one use fopen for text processing and open for binary? Anyway, thanks again! Joey -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple