Dropbear 0.50 scp problem. Most probably related to uclibc

Rob Landley rob at landley.net
Tue Feb 12 13:00:42 WST 2008


On Monday 11 February 2008 07:44:53 Jacques Verryn wrote:
> I would also have expected an error from ftruncate64 call.
>
> For some reason I was forced to compile my uClibc with large file support.
> I'm not sure what that reason was since I've been tinkering with the
> gumstix buildroot for about a year now.
> Changing
> #define _FILE_OFFSET_BITS 64
> to
> #define _FILE_OFFSET_BITS 32
> in config.h seems to fix my problem. This forces dropbear to use the
> ftruncate call instead of ftruncate64 call.
>
> Thanks for guiding me through the problem
> Jacques

You might want to send a patch to the uClibc mailing list, or at least notify 
them of the bug...

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.



More information about the Dropbear mailing list