You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/28 04:19:27 UTC
[lucy-commits] svn commit: r1140400 -
/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
Author: marvin
Date: Tue Jun 28 02:19:27 2011
New Revision: 1140400
URL: http://svn.apache.org/viewvc?rev=1140400&view=rev
Log:
LUCY-168 Detect sys/stat.h mkdir under Cygwin.
Always run the code which looks for POSIX mkdir() from sys/stat.h instead of
limiting ourselves to Microsoft options when windows.h is detected.
Modified:
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c?rev=1140400&r1=1140399&r2=1140400&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/Dir.c Tue Jun 28 02:19:27 2011
@@ -106,9 +106,7 @@ S_init_mkdir(void) {
if (S_try_init_win_mkdir()) { return; }
if (S_try_init_posix_mkdir("direct.h")) { return; }
}
- else {
- if (S_try_init_posix_mkdir("sys/stat.h")) { return; }
- }
+ if (S_try_init_posix_mkdir("sys/stat.h")) { return; }
}
static chaz_bool_t