delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/09/09:30:20

From: jbfraleigh AT hotmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP, FreeDOS and file access
Date: Mon, 09 Oct 2000 13:06:59 GMT
Organization: Deja.com - Before you buy.
Lines: 20
Message-ID: <8rsftf$rsr$1@nnrp1.deja.com>
References: <8rkmnt$8sq$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: 209.101.83.36
X-Article-Creation-Date: Mon Oct 09 13:06:59 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
X-Http-Proxy: 1.0 PROXY, 1.0 x57.deja.com:80 (Squid/1.1.22) for client 209.101.83.36
X-MyDeja-Info: XMYDJUIDjbfraleigh
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

It does appear to be a problem specific to DJGPP -- I compiled this
snippet of code with Turbo C 2.0 and DJGPP:

  FILE *fp;

  fp = fopen("TEMP.TMP", "r");
  if (!fp)
    fprintf("Error.");

...

With TC, it works fine.  With DJGPP it prints "Error."  If anyone is
interested, I can make an image of my floppy boot disk with
RAREAD/RAWRITE.

Confused in Connecticut.


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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