Changeset: a3d851cb1775 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a3d851cb1775
Modified Files:
tools/mserver/mserver5.c
Branch: Dec2011
Log Message:
modpath: unbreak on Windows
diffs (16 lines):
diff --git a/tools/mserver/mserver5.c b/tools/mserver/mserver5.c
--- a/tools/mserver/mserver5.c
+++ b/tools/mserver/mserver5.c
@@ -440,10 +440,10 @@ main(int argc, char **av)
struct stat sb;
char *binpath = get_bin_path();
if (binpath != NULL) {
- char *p = strrchr(binpath, '/');
+ char *p = strrchr(binpath, DIR_SEP);
if (p != NULL)
*p = '\0';
- p = strrchr(binpath, '/');
+ p = strrchr(binpath, DIR_SEP);
if (p != NULL) {
*p = '\0';
for (i = 0; libdirs[i] != NULL; i++) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list