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/07/01 07:38:15 UTC
[lucy-commits] svn commit: r1141814 - in /incubator/lucy/branches/0.1: ./
charmonizer/src/Charmonizer/Core/Dir.c
Author: marvin
Date: Fri Jul 1 05:38:14 2011
New Revision: 1141814
URL: http://svn.apache.org/viewvc?rev=1141814&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/branches/0.1/ (props changed)
incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/Dir.c
Propchange: incubator/lucy/branches/0.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jul 1 05:38:14 2011
@@ -1 +1 @@
-/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709,1139711,1139714,1140001,1140287,1140296,1140387,1140393,1140437,1140440,1140964
+/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709,1139711,1139714,1140001,1140287,1140296,1140387,1140393,1140400,1140437,1140440,1140964
Modified: incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/Dir.c
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/Dir.c?rev=1141814&r1=1141813&r2=1141814&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/Dir.c (original)
+++ incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/Dir.c Fri Jul 1 05:38:14 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