scsh-users
[Top] [All Lists]

Re: scx-0.2 on cygwin

To: "Brian D. Carlstrom" <bdc@carlstrom.com>, Michel Schinz <Michel.Schinz@epfl.ch>
Subject: Re: scx-0.2 on cygwin
From: Marcus Crestani <marcus@crestani.de>
Date: Fri, 4 Jun 2004 16:57:55 +0200
Cc: scsh-users@scsh.net
List-id: <scsh-users.list-id.scsh.net>
Reply-to: marcus@crestani.de
>>>>> BD == Brian D. Carlstrom writes:
BD> So is this an scx bug? or something more general affecting packages on
BD> cygwin?

This seems to be a bug in install-scsh-pkg. The value of dest-dir comes from 
there. Setting dest-dir to the empty string "" causes the heap overflow 
somewhere in install-scsh-pkg.

IMO the default value of dest-dir should not be set to "/" since this breaks 
the mkdir call on cygwin (and is not nice on Unix/Linux, even if it does not 
break). I think, the default value should be set to "", and therefore the 
heap overflow bug needs be fixed.

Brian, to work around this for now and to reproduce the os-error, you can use 
"scsh-install-pkg --prefix /usr/local/lib/scsh/scx/ --dest-dir /."

-- 
Marcus

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