delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/30/13:42:24

Message-Id: <199803301838.KAA19546@geocities.com>
From: cssl AT geocities DOT com
Sender: cssl AT mail DOT geocities DOT com
To: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Date: Sat, 21 Mar 1998 12:23:14 GMT0BST
Subject: Re: Temporary files considered unsafe
Reply-to: Diego Zuccato <cssl AT geocities DOT com>
CC: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>, djgpp-workers AT delorie DOT com

 > > So there can be up to 42 bit of info. Couldn't we use a 32bit PID and a
 > > 10 bit counter ?
 > I've said it before: The problem is that the PID has a high chance of
 > reusage after termination of a program and a restart. This means that
 > the same names will be produced by both programs, and depending upon how
 > many temporary files a program needs this may become a problem or not.
Uh... Aren't temporary files TEMPORARY ? So, when program terminates, they 
shouldn't exist any more. IMHO programs that leave temporary files on 
disk when terminating normally are quite annoying. I always have to 
search&kill all those *.tmp and ~*.* windoze apps leave on my disks :-(

BYtE,
 Diego (FidoNet node 2:332/437)
 

- Raw text -


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