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 <[email protected]> Authored: Thu Dec 27 00:04:10 2012 +0100 Committer: Nick Wellnhofer <[email protected]> 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. */
