This typo caused coreutils/tests/dd/misc to fail on Darwin 8.7.0.
+2006-09-25 Jim Meyering <jim@meyering.net>
+
+ * fcntl_h.m4 (gl_FCNTL_H): Fix typo in test for failed open.
+ This typo caused coreutils/tests/dd/misc to fail on Darwin 8.7.0.
+
2006-09-25 Bruno Haible <bruno@clisp.org>
* getloadavg.m4 (gl_GETLOADAVG): Fix directory in error message.
{
if (symlink (".", sym) != 0)
return 1;
- if (open (sym, O_RDONLY | O_NOFOLLOW) == 0)
+ if (0 <= open (sym, O_RDONLY | O_NOFOLLOW))
return 1;
}
return !constants;]])],