[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Last changes
From: |
Christian Anthon |
Subject: |
Re: [Bug-gnubg] Last changes |
Date: |
Mon, 4 Feb 2008 22:40:12 +0100 |
Could you try with the following patch:
Index: relational.c
===================================================================
RCS file: /sources/gnubg/gnubg/relational.c,v
retrieving revision 1.43
diff -r1.43 relational.c
82,84c82,88
< str = g_strdup_printf("relational('%s%c', '%s%c')",
< PKGDATADIR, G_DIR_SEPARATOR,
< szHomeDirectory, G_DIR_SEPARATOR);
---
> {
> char *pkgdir = g_strescape(PKGDATADIR, NULL);
> char *homedir = g_strescape(szHomeDirectory, NULL);
> str = g_strdup_printf("relational('%s%c', '%s%c')",
> pkgdir, G_DIR_SEPARATOR,
> homedir, G_DIR_SEPARATOR);
> }
and if that works, please try with non english characters in the
directory paths. I haven't compiled with python on windows myself, so
I cannot check at the moment.
Christian.