On 2/27/13 5:42 PM, Bob Proulx wrote:
> Chet Ramey wrote:
>> I don't know what version you're using; I have 0.11.
>>
>> $ ./posh
>> \[\]${HOST}($SHLVL)\$ exit 1
>> ./posh: exit: bad number
>>
>> $ ./posh
>> \[\]${HOST}($SHLVL)\$ exit 10
>> ./posh: exit: bad number
>> $ echo $?
>> 1
> 
> I am using 0.11 too.  I was using the Debian packaged version.  Since
> this originated with Debian it is packaged using "native" packaging
> where the tar.gz file is used without any patches to an upstream since
> upstream is Debian.  That means 0.11 without a 0.11-number -number on
> the end.
> 
> I just now pulled the source code and did a build and the locally
> compiled copy worked fine.
> 
> I can only assume this is some type of portability bug in the sources
> compiled on your system.  I can't imagine that many people compile
> that program on other systems.  It can't have gotten that much
> exposure.

I built it on Mac OS X with a couple of portability problems (undeclared
functions, assuming pointers and ints are the same size, etc.).  It's
probably another one of those.  If I get inspired I may try to track it
down.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to