git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* FREAD_READS_DIRECTORIES test fails for the wrong reasons
@ 2018-04-06 18:06 Jonathan Primrose
  2018-04-06 19:33 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Primrose @ 2018-04-06 18:06 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-06 22:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 18:06 FREAD_READS_DIRECTORIES test fails for the wrong reasons Jonathan Primrose
2018-04-06 19:33 ` Jeff King
2018-04-06 21:57   ` Jonathan Primrose
2018-04-06 22:07     ` Jeff King

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).