bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix argument inversion in call to sh_makepath() from sh_real


From: Chet Ramey
Subject: Re: [PATCH] Fix argument inversion in call to sh_makepath() from sh_realpath()
Date: Tue, 28 May 2013 15:35:33 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 5/27/13 6:21 PM, Julien Thomas wrote:
> In function sh_realpath() defined in lib/sh/pathphys.c, the arguments
> passed to sh_makepath() are inverted. This makes the sh_realpath()
> fail when <pathname> is not an absolute path because the expected
> concatenation is <wd>/<pathname>, not the reverse.

Thanks for the report and fix.

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]