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/27 19:20:55 UTC
[lucy-commits] [9/12] git commit: refs/heads/cfc-sprintf - 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/8ebe93e4
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/8ebe93e4
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/8ebe93e4
Branch: refs/heads/cfc-sprintf
Commit: 8ebe93e40f0dc141a0bf991d8c7f9c55ed1d005f
Parents: 013d28e
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Dec 27 00:04:10 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Dec 27 00:04:44 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/8ebe93e4/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. */