On 03/02/2011 02:11 PM, Alexander Lamaison wrote:
>> Anyway, I hope I could provide a patch soon.
>>
> Great :)
>
I'm not really used to provide patches, and i'm working on AIX also, so
the way of doing a patch is somewhat different :)
File provided is from a "diff -c".
I added :
- A little section to skip '@' begining lines instead of handling them
as an hostname.
- Some lines to really remove ending '\n' directly when reading lines
from knownhosts file.
- A section to handle correctly multiple hostnames, aliases, IP addr
on the same line in knownhosts file.
Hope it will be OK for you.
Thanks
Pierre-yves
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel