[BUG] patch fails for porper path resolution

Rob Landley rob at landley.net
Sun Oct 9 20:39:04 UTC 2011


On 07/20/2011 03:39 PM, John Spencer wrote:
> the attached patch fails to generate the proper pathname with -p1
> 
> with -p1 it translates libssh-0.5.0//include/libssh/libssh.h to
> //include/libssh/libssh.h
> and
> libssh-0.5.0/include/libssh/libssh.h to /include/libssh/libssh.h
> 
> both should obviously translate to include/libssh/libssh.h without
> leading slashes.
> 
> used busybox was 1.18.4
> used libssh was 0.5.0
> 
> thanks

The attached patch should fix it. :)

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-patch.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20111009/3c685af2/attachment.bin>


More information about the busybox mailing list