Git development
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Michal Rokos <michal.rokos@nextsoft.cz>
Cc: GIT <git@vger.kernel.org>
Subject: Re: [PATCH v2] Configure test for FREAD_READS_DIRECTORIES
Date: Tue, 4 Mar 2008 13:43:42 +0000 (GMT)	[thread overview]
Message-ID: <alpine.LSU.1.00.0803041332580.22527@racer.site> (raw)
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


      reply	other threads:[~2008-03-04 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 11:44 [PATCH v2] Configure test for FREAD_READS_DIRECTORIES Michal Rokos
2008-03-04 12:05 ` Johannes Schindelin
2008-03-04 13:43   ` Johannes Schindelin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.1.00.0803041332580.22527@racer.site \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=michal.rokos@nextsoft.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox