[Rd] Unified naming for R<system>_tmpnam possible?

Thomas Hoffmann Thomas Hoffmann" <thoffman@zappa.sax.de
Fri, 01 Jun 01 20:02:21 +0100


What is the reason that the system specific files (sys-unix.c et.al.) all define a specific
name for building tmpfile?

In main/devPS.c then there is an #ifdef sequence which calls depending on the
system defined the respective function.

Wouldn't it be better just to have one function R_tmpnam(), which is implemented
system dependent in the sys-<system>.c files?




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._