[grisbi-cvs] grisbi/src utils_files.c,1.48,1.49
Gunee
guneemwelloeux at users.sourceforge.net
Wed Jan 20 14:05:11 CET 2010
- Previous message: [grisbi-cvs] grisbi/po es.po,1.154,1.155
- Next message: [grisbi-cvs] grisbi/src balance_estimate_tab.c, 1.30, 1.31 gsb_form_widget.c, 1.43, 1.44 gsb_transactions_list.c, 1.193, 1.194 import.c, 1.318, 1.319 transaction_list.c, 1.56, 1.57 transaction_list.h, 1.10, 1.11 transaction_model.c, 1.4, 1.5 utils_dates.c, 1.62, 1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18240
Modified Files:
utils_files.c
Log Message:
Fixed CSV report export on Windows MSVC (bug 667, bug 876)
Index: utils_files.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/utils_files.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- utils_files.c 3 Jan 2010 11:21:26 -0000 1.48
+++ utils_files.c 20 Jan 2010 13:05:08 -0000 1.49
@@ -314,6 +314,8 @@
G_MODULE_EXPORT FILE* utf8_fopen(const gchar* utf8filename,gchar* mode)
{
#ifdef _MSC_VER
+ if(!strncmp(mode, "w+x", 3))
+ mode = "w+";
return fopen(g_locale_from_utf8(utf8filename, -1, NULL, NULL, NULL),mode);
#else
return fopen(g_filename_from_utf8(utf8filename, -1, NULL, NULL, NULL),mode);
- Previous message: [grisbi-cvs] grisbi/po es.po,1.154,1.155
- Next message: [grisbi-cvs] grisbi/src balance_estimate_tab.c, 1.30, 1.31 gsb_form_widget.c, 1.43, 1.44 gsb_transactions_list.c, 1.193, 1.194 import.c, 1.318, 1.319 transaction_list.c, 1.56, 1.57 transaction_list.h, 1.10, 1.11 transaction_model.c, 1.4, 1.5 utils_dates.c, 1.62, 1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list