Article View: net.eunice
Article #111Re: temporary file names
From: Chip Rosenthal
Date: Thu, 20 Sep 1984 07:22
Date: Thu, 20 Sep 1984 07:22
25 lines
1634 bytes
1634 bytes
--- REFERENCED ARTICLE ---------------------------------------------
>From: keith@seismo.UUCP (Keith Bostic)
>Date: Mon, 17-Sep-84 15:08:51 PDT
>
>This is a dangerous fix on EUNICE machines. The EUNICE shell does not
>increment process id's as expected under UNIX.
--------------------------------------------------------------------
That is true...but `mktemp' works anyway. As suggested, `mktemp'
just tries to stick the PID on then end of your template. If that
already exists, it inserts an `a' before the PID. If that exists,
it tries it with a `b'. The result is that I will personally double
your money back guarantee you that you will be able to get at least
27 unique filenames for a given process ID. What `mktemp' does after
`z', I'm not sure. Who knows...maybe someday I'll find out the *hard*
way.
(Hey...we're getting some discussions going in net.eunice. I love it!!)
--
Chip Rosenthal, Intel/Santa Clara
{ idi|intelca|icalqa|kremvax|qubix|ucscc } ! t4test ! { chip|news }
Technical Details
Message-ID:
<1132@t4test.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!intelca!t4test!chipReferences:
<4006@seismo.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site t4test.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!intelca!t4test!chip From: chip@t4test.UUCP (Chip Rosenthal) Newsgroups: net.eunice Subject: Re: temporary file names Message-ID: <1132@t4test.UUCP> Date: Thu, 20-Sep-84 03:22:18 EDT Article-I.D.: t4test.1132 Posted: Thu Sep 20 03:22:18 1984 Date-Received: Tue, 25-Sep-84 20:53:15 EDT References: <4006@seismo.UUCP> Distribution: net.all Organization: Intel, Santa Clara, Ca. Lines: 25