🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #1153

Re: tmpnam() bug and workaround (WAS Re: CVS 1.3)

#1153
From: Heiko W.Rupp
Date: Fri, 16 Oct 1992 08:24
24 lines
1384 bytes
royce@splunge.uucp (Royce Howland) writes:


>Ah, that's what the work-around was (NXGetTempFilename()).  Well, it's
>all well and good, but I prefer not to make machine-specific local mods
>like that to software distributions from other sources, such as FSF.
>mktemp() can be used directly, as it works and is more portable.

even if writing code for FSF, you still could do:
#ifdef NeXT
   ... NXGet....
#else
   ...mktemp....
#endif

>What I ended up doing, though, was linking in a tmpnam() from another
>source, and it works fine.  I suggested to the people at info-cvs that

This also is a good solution, but so you have to include your own code
instead of using the one of the libraries, which is/should be better
optimized. 
-- 
Heiko W.Rupp  Gerwigstr.5  7500 Kh'e 1  hwr@pilhuhn.ka.sub.org  +49 721 693642
My pants just went to high school in the Carlsbad Caverns!!!
Technical Details
Message-ID: <1992Oct16.082432.7935@pilhuhn.ka.sub.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!smurf.sub.org!flatlin!pilhuhn!hwr
References: <1992Oct14.002716.8257@splunge.uucp> <61162@mimsy.umd.edu> <1992Oct15.130251.14331@splunge.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!smurf.sub.org!flatlin!pilhuhn!hwr
From: hwr@pilhuhn.ka.sub.org (Heiko W.Rupp)
Subject: Re: tmpnam() bug and workaround (WAS Re: CVS 1.3)
References: <1992Oct14.002716.8257@splunge.uucp> <61162@mimsy.umd.edu> <1992Oct15.130251.14331@splunge.uucp>
Date: Fri, 16 Oct 1992 08:24:32 GMT
Organization: The Home of the Pilhuhn
Message-ID: <1992Oct16.082432.7935@pilhuhn.ka.sub.org>
Lines: 24