git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Configure test for FREAD_READS_DIRECTORIES

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 4, 2008, 13:43 UTC
Message-ID
<alpine.LSU.1.00.0803041332580.22527@racer.site>
In-Reply-To
<alpine.LSU.1.00.0803041204490.22527@racer.site>
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@nextsoft.cz>
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@nextsoft.cz>

Ciao, Dscho

Previous: Johannes Schindelin
Message 3 of 3 in “Configure test for FREAD_READS_DIRECTORIES”
  1. Configure test for FREAD_READS_DIRECTORIESMichal Rokos, Mar 4, 2008
  2. Johannes SchindelinMar 4, 2008
  3. Johannes SchindelinMar 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.