bug-bash
[Top][All Lists]
Advanced

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

Re: export in posix mode


From: Chet Ramey
Subject: Re: export in posix mode
Date: Fri, 01 Mar 2013 11:55:41 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

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    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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