Update of /cvsroot/monetdb/MonetDB5/src/modules/atoms
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11667
Modified Files:
str.mx
Log Message:
iconv_open returns -1 on error not 0
Index: str.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/atoms/str.mx,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- str.mx 24 Jan 2007 23:49:12 -0000 1.65
+++ str.mx 31 May 2007 20:43:12 -0000 1.66
@@ -1553,7 +1553,7 @@
char *r;
ICONV_CONST char *from = org;
- if (!cd) {
+ if (cd == (iconv_t)(-1)) {
GDKerror("strIconv: Cannot convert strings from (%s) to
(%s)\n", f, t);
return GDK_FAIL;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins