To: Helmut Muelner Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Definitive GNU fileutils ports Date: Mon, 17 Oct 94 15:09:42 +0200 From: Eli Zaretskii Status: RO > One nice example is "sort" from textutils-1.9: The filenames it uses > for temporary files consists of "sort" + 5 digits from getpid() + 5 > digits for a serial number all generating the same filename "sort0000" > in MSDOG. Yep. This is a fairly common paradigm of generating a temporary file name in GNU utilities. Be sure to use tmpnam() from DJGPP library if you don't want such ``surprises''.