scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-439334 ] CREATE-TEMP-FILE broken on 0.5/FreeB

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-439334 ] CREATE-TEMP-FILE broken on 0.5/FreeBSD
From: noreply@sourceforge.net
Date: Thu Nov 8 01:05:02 2001
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs item #439334, was opened at 2001-07-07 12:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=439334&group_id=10493

Category: run-time
Group: None
>Status: Closed
Resolution: None
Priority: 9
Submitted By: Mike Sperber (sperber)
Assigned to: Olin Shivers (olin-shivers)
Summary: CREATE-TEMP-FILE broken on 0.5/FreeBSD

Initial Comment:
Scsh 0.5.3
> (create-temp-file)

Error: 2
       "No such file or directory"
       #{Procedure 10019 %open}
       "/usr/tmp/70288.0"
       2561
       384


----------------------------------------------------------------------

>Comment By: Martin Gasbichler (mainzelm)
Date: 2001-11-08 01:04

Message:
Logged In: YES 
user_id=17553

In 0.6 the default value is $TMPDIR if set and /var/tmp
otherwise as 
/var/tmp exists on Solaris, HP-UX, AIX, Linux, Irix and
FreeBSD. 

----------------------------------------------------------------------

Comment By: Martin Gasbichler (mainzelm)
Date: 2001-07-08 05:00

Message:
Logged In: YES 
user_id=17553

I'd like to use TMPDIR as default value, but  according to
the manual *temp-file-template* is used to obtain the
default directory. Therefore, using TMPDIR would change the
semantics. We could however add 'tmpdir as possible (and
default) value for *temp-file-template* and  getenv TMPDIR
in this case.

----------------------------------------------------------------------

Comment By: Mike Sperber (sperber)
Date: 2001-07-08 01:10

Message:
Logged In: YES 
user_id=43931

It seems to me it should consult the TMPDIR
environment variable.
If that doesn't exist, use /var/tmp.
/usr/tmp seems like the wrong thing definitely.
In any case, it should abort more gracefully when
the temp directory doesn't exist.

----------------------------------------------------------------------

Comment By: Martin Gasbichler (mainzelm)
Date: 2001-07-07 12:51

Message:
Logged In: YES 
user_id=17553

/usr/tmp doesn't exist on FreeBSD. 
Are there any objections to use /tmp instead ???

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=439334&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>
  • [Scsh-hackers] [ scsh-Bugs-439334 ] CREATE-TEMP-FILE broken on 0.5/FreeBSD, noreply <=