You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/02/14 19:54:19 UTC
[lucy-commits] [2/7] git commit: refs/heads/master - Fix CFCUtil_make_path under
Windows
Fix CFCUtil_make_path under Windows
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/fc0a622e
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/fc0a622e
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/fc0a622e
Branch: refs/heads/master
Commit: fc0a622e36882fdf5bada8316039c76bed7e6d3f
Parents: c623262
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Feb 14 19:21:23 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Feb 14 19:47:12 2013 +0100
----------------------------------------------------------------------
clownfish/compiler/src/CFCUtil.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/fc0a622e/clownfish/compiler/src/CFCUtil.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCUtil.c b/clownfish/compiler/src/CFCUtil.c
index c373382..7d8f7a5 100644
--- a/clownfish/compiler/src/CFCUtil.c
+++ b/clownfish/compiler/src/CFCUtil.c
@@ -335,12 +335,6 @@ CFCUtil_make_path(const char *path) {
size_t orig_len = strlen(target);
size_t len = orig_len;
for (size_t i = 0; i <= len; i++) {
-#ifndef WIN32
- if (target[i] == '\\') {
- i++;
- continue;
- }
-#endif
if (target[i] == CHY_DIR_SEP_CHAR || i == len) {
target[i] = 0; // NULL-terminate.
struct stat stat_buf;