I would like to add the TMPDIR environment variable to `csoundTmpFileName' function (unix) because I often use tmpfs and/or ramfs for temp files and I don't mount these filesystems on /tmp. I see a tentative with `mytmpnam' but it doesn't work because `tmpdir!=NULL' fails (tmpdir is always a string). This works char *tmpdir = getenv("TMPDIR"); sprintf(buf, "%s/csound-XXXXXX", (tmpdir[0] != '\0' ? tmpdir : "/tmp")); Let me know if I can apply this change. tito ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net