<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Thomas,<br>
      <br>
      thanks for your comments, I'll send a second revision with
      everything fixed.<br>
      <br>
    </div>
    <blockquote cite="mid:20131121164242.64981c00@skate" type="cite">
      <pre wrap="">Can you detail the posix_fallocate() problem you've seen? Maybe we can
solve it in a different/nicer way.</pre>
    </blockquote>
    <br>
    Here is a piece of the m4 file which describes the macro
    (lftp-4.4.10/m4/lftp.m4, line 246):<br>
    <br>
    <blockquote type="cite">AC_DEFINE(HAVE_POSIX_FALLOCATE, 1, [Define
      if you have a working posix_fallocate()])</blockquote>
    <blockquote type="cite">AC_DEFUN([LFTP_POSIX_FALLOCATE_CHECK],[<br>
         dnl * Old glibcs have broken posix_fallocate(). Make sure not
      to use it.<br>
         dnl * It may also be broken in AIX.</blockquote>
    <br>
    In order to test that, the configure script compiles and runs a
    piece of C code.<br>
    <br>
    There's two problems with that.<br>
    <br>
    First, the code won't compile because uClibc doesn't define
    posix_fallocate. To solve that, we can fix the m4 macro with a
    #define.<br>
    It's quite easy, though I don't know exactly how to do it properly.<br>
    <br>
    But after that comes the second problem: the test is supposed to run
    this piece of code. How are we supposed to run cross-compiled code
    on the host ?<br>
    I can imagine it's a typical problem, but I don't know how it's
    supposed to be handled.<br>
    <br>
    <br>
    Regards,<br>
    Arnaud.<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="text-transform:uppercase" type="text">A</span>rnaud
      <span style="text-transform:uppercase" type="text">Rébillout</span>
      <br>
      <i>Développeur software</i>
      <br>
      <br>
      SYSCOM Instruments SA,
      <br>
      Rue de l’Industrie 21,
      <br>
      1450 Ste-Croix, SUISSE
      <br>
      Tel : +41 (0) 24 455 44 11
      <br>
      Fax : +41 (0) 24 454 45 60
      <br>
      Visit us at <a href="http://www.syscom.ch">www.syscom.ch</a>
    </div>
  </body>
</html>