Path: utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: alt.sources.d Subject: Re: Elvis1.3, 3 fixes Message-ID: Date: 6 Sep 90 14:14:07 GMT References: <1358@tnosoes.izf.tno.nl> Sender: peter@ficc.ferranti.com (Peter da Silva) Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 16 In article <1358@tnosoes.izf.tno.nl> joep@tnosoes.izf.tno.nl (Joep Mathijssen) writes: > BTW: it's not possible to run elvis twice, because a fixed temporary > file is used! It's not possible to run it twice in the same directory. You can always go to another directory. The temporary file naming code in elvis is perhaps needlessly obscure. This is an even bigger problem in AmigaOS because the current directory isn't named ".". I build an empty stat structure with st_ino set to my pid (actually, FindTask(0)) and st_dev set to -1. This is unique to the program and guaranteed not to collide with anyone else. -- Peter da Silva. `-_-' +1 713 274 5180. 'U` peter@ferranti.com --