www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/06/15:54:07

From: producao AT scordon DOT com DOT br
X-Authentication-Warning: s001.scordon: mauro owned process doing -bs
Date: Fri, 6 Apr 2001 16:46:33 -0300 (EST)
X-Sender: mauro AT s001 DOT scordon
To: djgpp AT delorie DOT com
Subject: Problem with Novell (write/read file)
Message-ID: <Pine.LNX.4.10.10104061639150.3120-100000@s001.scordon>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hi,

	Excuse my English.

	I have a big problem, I open file (this file exist) exclusive, not
share. I write same data, when I try read this file, and compare with data
in memory, this data is wrong, not same data. 
	I open this file "r+b", I seek position, I write data, I seek
position, I read dataw, compare dataw with data, the compare is wrong.
	This error is not common, this occurs not always. 
	When I use the Borland C 3.1, my programa work ok, but when I use
gcc 2.95.1, this error happen.

	Thank's for any help.

Mauro Cordon  
+-------------------------+
|   Sistemas CORDON Ltda  |
| Aplicativos Definitivos |
|   www.scordon.com.br    |
| producao AT scordon DOT com DOT br |
+-------------------------+

- Raw text -


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