On Wednesday 28 December 2005 21:24, matt wrote: > i will investigate further. in csound4 i do something like > sprintf(orcname, "/tmp/%d%d", getuid(), getpid()); > and then add on a unique number > > i also seem to remember that in order for the temp files to be deleted > on reboot, they needed to be in /tmp directory and not where > tmpfil wanted to put it. Would it improve things if I #ifdef out code like the one shown below for OS X ? I recall some issue with tmpnam generating file names like "tmp.000001" or similar. mytmpnam(csound, sconame); /* Generate score name */ /* -------------------------- */ if ((p=strchr(sconame, '.')) != NULL) *p='\0'; /* with extention */ strcat(sconame, ".sco"); /* -------------------------- */ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net