dick hoogendijk wrote: > On Wed, 22 Apr 2009 08:31:28 -0700 > Bart Smaalders <bart.smaalders at Sun.COM> wrote: > >> Brian Cameron wrote: >>> Some programs which use TMPDIR may depend on the fact that /var/tmp >>> is persistent across reboots. > >> Then those programs are broken since the user can affect TMPDIR by >> setting it as an environment variable. > > That might be, but why should we give up the difference betwee > persistent / non persistent. why not keep both? >
We can... I'm suggesting that the default in stdio.h: /usr/include/stdio.h:#define P_tmpdir "/var/tmp/" be changed to /usr/include/stdio.h:#define P_tmpdir "/tmp/" TMPDIR would still work as it does today - a default value that can be overridden by the user. All we want to do is change the default. - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird."
