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 2012/12/28 22:34:30 UTC

[lucy-commits] [11/12] git commit: refs/heads/master - Add CHY_DIR_SEP_CHAR

Add CHY_DIR_SEP_CHAR


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/27d23655
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/27d23655
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/27d23655

Branch: refs/heads/master
Commit: 27d23655ce8ef71db7ac49b4efff0e19a753e1a1
Parents: cec0b47
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Dec 27 00:04:10 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Fri Dec 28 22:23:11 2012 +0100

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Probe/DirManip.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/27d23655/charmonizer/src/Charmonizer/Probe/DirManip.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Probe/DirManip.c b/charmonizer/src/Charmonizer/Probe/DirManip.c
index bb6071c..8664ed6 100644
--- a/charmonizer/src/Charmonizer/Probe/DirManip.c
+++ b/charmonizer/src/Charmonizer/Probe/DirManip.c
@@ -205,6 +205,8 @@ chaz_DirManip_run(void) {
         char scratch[5];
         sprintf(scratch, "\"%s\"", dir_sep);
         chaz_ConfWriter_add_def("DIR_SEP", scratch);
+        sprintf(scratch, "'%s'", dir_sep);
+        chaz_ConfWriter_add_def("DIR_SEP_CHAR", scratch);
     }
 
     /* See whether remove works on directories. */