scsh-hackers
[Top] [All Lists]

Re: [Scsh-hackers] 0.6.2 beta version

To: Eric Marsden <emarsden@laas.fr>
Subject: Re: [Scsh-hackers] 0.6.2 beta version
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Wed May 8 05:04:01 2002
Cc: scsh-hackers <scsh-hackers@lists.sourceforge.net>
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
>>>>> "ecm" == Eric Marsden <emarsden@laas.fr> writes:


ecm> On MacOS X there is a problem in file-system:file-not-exists-2?, which
ecm> comes from strange handling of directories whose names have a trailing
ecm> slash: scsh should perhaps remove any trailing slash on this platform? 

I'm not sure if this is worth the trouble. It's a bug in Mac OS X,
isn't it?

ecm> ,----
ecm> | Welcome to scsh 0.6.2 (Gambit-C 4.0)[beta 1]
ecm> | Type ,? for help.
ecm> | > (with-cwd "/tmp/scsh-test" (delete-directory "dir"))
ecm> | > ,exit
ecm> | bash-2.05a$ mkdir /tmp/scsh-test/dir
ecm> | bash-2.05a$ ./go
ecm> | Welcome to scsh 0.6.2 (Gambit-C 4.0)[beta 1]
ecm> | Type ,? for help.
ecm> | > (with-cwd "/tmp/scsh-test" (delete-directory "dir/"))
ecm> | Error: 21
ecm> |        "Is a directory"
ecm> |        #{Procedure 12735 (delete-directory in scsh-level-0)}
ecm> |        "dir/"
ecm> `----


ecm> On Linux/SPARC there is a problem with create-temp-file: it looks like the
ecm> O_CREAT flag is not being used correctly; I'll try to find where it
ecm> comes from.

Did you find anything meanwhile?

ecm> ,----
ecm> | > (create-temp-file)
ecm> | Error: 2
ecm> |        "No such file or directory"
ecm> |        #{Procedure 12515 (%open in scsh-level-0)}
ecm> |        "/var/tmp/44130"
ecm> |        193
ecm> |        384
ecm> `----

ecm> ,---- strace output --
ecm> | read(0, "(create-temp-file)\n", 255)    = 19
ecm> | open("/var/tmp/43960", O_WRONLY|O_ASYNC|0x80) = -1 ENOENT (No such file 
or directory)
ecm> | write(1, "\nError: 2\n       \"No such file o"..., 144) = 144
ecm> `----

-- 
Martin


<Prev in Thread] Current Thread [Next in Thread>