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:10:06 UTC

[lucy-commits] svn commit: r1141799 - in /incubator/lucy/branches/0.1: ./ core/Lucy/Store/FSFolder.c

Author: marvin
Date: Fri Jul  1 05:10:06 2011
New Revision: 1141799

URL: http://svn.apache.org/viewvc?rev=1141799&view=rev
Log:
LUCY-161 Don't use CreateHardLink under Cygwin. 

Modified:
    incubator/lucy/branches/0.1/   (props changed)
    incubator/lucy/branches/0.1/core/Lucy/Store/FSFolder.c

Propchange: incubator/lucy/branches/0.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jul  1 05:10:06 2011
@@ -1 +1 @@
-/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709
+/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709,1139711

Modified: incubator/lucy/branches/0.1/core/Lucy/Store/FSFolder.c
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/core/Lucy/Store/FSFolder.c?rev=1141799&r1=1141798&r2=1141799&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/core/Lucy/Store/FSFolder.c (original)
+++ incubator/lucy/branches/0.1/core/Lucy/Store/FSFolder.c Fri Jul  1 05:10:06 2011
@@ -287,7 +287,7 @@ S_is_local_entry(const CharBuf *path) {
 
 /***************************************************************************/
 
-#ifdef CHY_HAS_UNISTD_H
+#if (defined(CHY_HAS_UNISTD_H) && !defined(CHY_HAS_WINDOWS_H))
 
 bool_t
 S_hard_link(CharBuf *from_path, CharBuf *to_path) {