From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1139 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: temp file name conflicts in unattended document generation Date: Mon, 01 Nov 1999 23:30:46 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <381E1496.5A90@wxs.nl> References: Reply-To: pragma@wxs.nl NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391979 30245 80.91.224.250 (23 Oct 2002 16:52:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:52:59 +0000 (UTC) Cc: NTG-ConTeXt mailing list Original-To: "Ed L. Cashin" Xref: main.gmane.org gmane.comp.tex.context:1139 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1139 Ed L. Cashin wrote: > I notice that occasionally I see a context-generated filename that is > not related to the source filename, e.g., "texutil.tuo" and > "cont-opt.bak". It seems like these files may cause collisions when > two instances of context are running in the same directory on separate > sources, e.g. if, in /var/tmp, foo-2222.tex and foo-3333.tex are being > compiled simultaneously by context. > > Is that a valid concern? If so, is there a way to specify an "id" > string for use in the tempfile names? I share your problem -) Which is why currently the opt file is already taken care of. One reason for using a standard name, is that is eases removing old files, (since I often run on overloaded systems this makes sense). I think it indeed makes sense to treat the texutil.tuo file in the same way, so I'll look into it. I have to updat emy perl 'purge' script anyway -) BTW, some file duplicated are hard to catch, like buffers with the ame name and differrent content. But I can make that something optional, Remind me to solve this (I'm currently updating / reinstalling / cleaning up my main system to a larger disk, so I don't play with the sources currently). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------