delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/10/18:12:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Andre Oliveira da Costa" <costa AT cade DOT com DOT br>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: fopen() and CON
Date: Fri, 10 Dec 1999 20:07:41 -0200
Message-ID: <000201bf435a$fa78c680$8400000a@costa.cadenet.com.br>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <19991210162430.A2384@cygnus.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4

> From: cygwin-owner AT sourceware DOT cygnus DOT com
> [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Chris Faylor
> Sent: Friday, December 10, 1999 7:25 PM
> To: Andre Oliveira da Costa
> Cc: Cygwin
> Subject: Re: fopen() and CON

[...]

> It depends on what you mean by "should".  If it was up to me, the answer
> would be "no".  If it is up to Microsoft, the answer is "yes".  Cygwin
> can't override the underlying OS.

I agree with you: IMHO, fopen("CON.xxx", "w") should _not_ open the terminal
device (CON). But, thanks to Micro$oft, WYEINWYG (What You Expect Is Not
What You Get). I understand that Cygwin is bound to the underlying OS,
which, unfortunately, is a s* one. You guys are doing a _great_ job, keep it
going =)

> I'm not aware of any way to override this.  I suppose that on NT you
> could open the file in POSIX mode, but cygwin has no way of doing this
> via fopen.

Yeah, never mind... I've already tweaked my program to write to
FILENAME_.html instead of FILENAME.html (so that it will generate CON_.html
instead of CON.html). I just wanted to check it out because there might have
been a chance I was forgetting something really basic, or it could be some
problem with Cygwin.

Thanks a lot for your attention.

Best regards,

Andre
--
André Oliveira da Costa
(costa AT cade DOT com DOT br)


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019