octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50183] tempname() returns an empty string on


From: Michele
Subject: [Octave-bug-tracker] [bug #50183] tempname() returns an empty string on Solaris
Date: Thu, 2 Mar 2017 20:53:33 -0500 (EST)
User-agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.7) Gecko/20100101 Firefox/10.0.7

Follow-up Comment #21, bug #50183 (project octave):

"What does this script look like for you?"

octave:9> tempname
ans = /var/tmp/oct-lwXcI9
octave:10> tempname
ans = /var/tmp/oct-KV9F39
octave:11> P_tmpdir
ans = /var/tmp/
octave:12> tempdir
ans = /tmp/
octave:13> setenv TMPDIR /tmp
octave:14> tempdir
ans = /tmp/
octave:15> tempname
ans = /var/tmp/oct-FbJ5Ph
octave:16> tempname (tempdir)(tempdir)
ans = /tmp/oct-Koi1Zn
octave:17> tempname (P_tmpdir)(P_tmpdir)
ans = /var/tmp/oct-nzOs0x
octave:18>

So is the whole problem just that I'm trying to run it from my own account
with some unknown permutation of environment variables?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50183>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]