Re: [PATCH v2] Configure test for FREAD_READS_DIRECTORIES

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

 



Hi,

On Tue, 4 Mar 2008, Johannes Schindelin wrote:

> I will test on msysGit in a moment.

Unfortunately, "autoconf" does not work in msysGit at the moment.

However, applying this patch on Linux, extracting the product of "make 
dist" on msysGit, and running "./configure" yields this:

...
checking whether system succeeds to read fopen'ed directory... yes
...

And indeed, FREAD_READS_DIRECTORIES is set in config.mak.autogen.  
However, "f" was NULL in your test, so I am not quite sure what is going 
wrong...

Besides, you miss a return 0 in the end, I think.  Or even better: you 
should

	return f && fread(&c, 1, 1, f);

BTW the commit message looks like this here... not nice (the commit log 
is not a mailing list):

commit 67418ff5d4f548f7de23e97bf165a8529ebf6a31
Author: Michal Rokos <michal.rokos@xxxxxxxxxxx>
Date:   Tue Mar 4 12:44:11 2008 +0100

    Configure test for FREAD_READS_DIRECTORIES

    Hello,

    this patch adds missing tests for FREAD_READS_DIRECTORIES.

    Could anyone volunteer to test it on different platforms?
    So far I know it works well on Linux (no FREAD_READS_DIRECTORIES),
    HP-UXes 11.11 and 11.23 (FREAD_READS_DIRECTORIES defined).

    Thanks

    MR

    Signed-off-by: Michal Rokos <michal.rokos@xxxxxxxxxxx>


Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux