]> git.pond.sub.org Git - empserver/commitdiff
(set_paths) [_WIN32]: Add a comment to explain the use of _fullpath().
authorRon Koenderink <rkoenderink@yahoo.ca>
Sat, 21 Jul 2007 00:50:32 +0000 (00:50 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sat, 21 Jul 2007 00:50:32 +0000 (00:50 +0000)
src/lib/gen/emp_config.c

index be2af2e931a57f14fa684f69f53d5ebf0bf2026e..10cedc8f0fa7e66a60acb57467307ee31ed26e0a 100644 (file)
@@ -181,6 +181,7 @@ set_paths(char *econfig)
     char *cwd = getcwd(NULL, 0);
 
 #ifdef _WIN32
+    /* normalize path separator to '\\', for easier searching: */
     econfig = _fullpath(NULL, econfig, 0);
     slash = strrchr(econfig, '\\');
     configdir = malloc(slash - econfig + 1);