peter@ficc.ferranti.com (Peter da Silva) (09/06/90)
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 --