delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/10/06:05:59

Date: Tue, 10 Mar 1998 13:04:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
cc: djgpp-workers AT delorie DOT com, Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Temporary files considered unsafe
In-Reply-To: <35051564.2AB5@rug.ac.be>
Message-ID: <Pine.SUN.3.91.980310130222.4314B-100000@is>
MIME-Version: 1.0

On Tue, 10 Mar 1998, Vik Heyndrickx wrote:

> I've thought about STR-ing in the djgpp start-up code
                     ^^^^^^^
What's that?

> but unless I'm
> mistaking we cannot rely on the fact that our DJGPP program runs at
> protection level 0, can we?

No, we can't.  Actually ring 3 is the more common case, IIRC.

> > It is good enough as long as you are on DOS, where only one program runs
> > at any given time (so PID's of those which don't run don't matter).
> > Windows breaks this.
> 
> For once not a BUG in Winblows :-)

Yup.  And then, of course, `getpid' is not used for temporary files 
inside the library, so the situation is not so bad, even on Windows.

- Raw text -


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