Changeset: ce7a71bde20a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ce7a71bde20a
Modified Files:
        sql/backends/monet5/sql.c
Branch: default
Log Message:

Function atoll is not standard and does not exist on Windows.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -3511,7 +3511,7 @@ mvc_import_table_wrap(Client cntxt, MalB
                        for (i = 0; i < width_len; i++) {
                                if (fixed_widths[i] == STREAM_FWF_FIELD_SEP) {
                                        fixed_widths[i] = '\0';
-                                       widths[current_width_entry++] = 
(size_t) atoll(val_start);
+                                       widths[current_width_entry++] = 
(size_t) strtoll(val_start, NULL, 10);
                                        val_start = fixed_widths + i + 1;
                                }
                        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to