From: Jonathan Primrose <jprimros@gmail.com>
To: git@vger.kernel.org
Subject: FREAD_READS_DIRECTORIES test fails for the wrong reasons
Date: Fri, 6 Apr 2018 14:06:50 -0400 [thread overview]
Message-ID: <82c91eac-9dc4-834b-4648-3c4ba45af80d@gmail.com> (raw)
A while ago, the configure test for FREAD_READS_DIRECTORIES was changed
to (attempt to) check for a NULL result from fopen. Unfortunately, the
test will always fail - because it won't compile. The code snippet in
configure.ac translates to:
return f);
Either there's an extra ) or a missing (. A cast to int wouldn't hurt
either.
I'd supply a patch to fix this, but I'm not sure what the results of
suddenly fixing the test would be. It seems to work well on my
machine, but I don't stress git much here, and it's just one machine.
next reply other threads:[~2018-04-06 18:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 18:06 Jonathan Primrose [this message]
2018-04-06 19:33 ` FREAD_READS_DIRECTORIES test fails for the wrong reasons Jeff King
2018-04-06 21:57 ` Jonathan Primrose
2018-04-06 22:07 ` Jeff King
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82c91eac-9dc4-834b-4648-3c4ba45af80d@gmail.com \
--to=jprimros@gmail.com \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).