www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/27/07:06:40

Date: Wed, 27 Nov 1996 13:48:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Juanjo Erauskin <juanjo AT jet DOT es>
Cc: djgpp AT delorie DOT com
Subject: Re: Problem with shared open
In-Reply-To: <329B2514.730@jet.es>
Message-Id: <Pine.SUN.3.91.961127134657.6609B-100000@is>
Mime-Version: 1.0

On Tue, 26 Nov 1996, Juanjo Erauskin wrote:

> 	I have a DJGPP compiled program that runs in W95. This open a file in
> O_RDWR mode in one MSDOS window and then program runs OK. But if I try
> to run this same program in another MSDOS window then program fails and
> set errno with this error:
> 
> 		(4) EACCES - Permission denied

What happens if one program opens the file with O_RDWR, but the other 
with O_RDONLY?  Does it work then?  If it does, then maybe this is just 
the Windows way of saving you from trouble?

- Raw text -


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