Aquileo | Recent changes to bugshttps://sourceforge.net/p/libcsv/bugs/Recent changes to bugsenFri, 03 Nov 2017 04:03:09 -0000Aquileo | #4 csv_fini parameter check done after derefhttps://sourceforge.net/p/libcsv/bugs/4/?limit=25#ef73<div class="markdown_content"><p>Thanks I didn't realize. I've updated my bookmarks</p></div>Jay SatiroFri, 03 Nov 2017 04:03:09 -0000https://sourceforge.netcded7c6f3f6b73932edb6e846c969e3dde1cd71fAquileo | #4 csv_fini parameter check done after derefhttps://sourceforge.net/p/libcsv/bugs/4/?limit=25#ca97<div class="markdown_content"><p>Hi Jay,</p> <p>Libcsv is now maintained on GitHub (https://github.com/rgamble/libcsv) where this issue was corrected about a year ago.</p></div>Robert GambleThu, 02 Nov 2017 07:17:36 -0000https://sourceforge.net8fbaf402974b003f8dd556f27ced63c4d450658aAquileo | csv_fini parameter check done after derefhttps://sourceforge.net/p/libcsv/bugs/4/<div class="markdown_content"><p>github user ip-gpu filed a report that the invalid parameter check for the first parameter is done too late. he has proposed a solution but it is not c89.</p> <p>V595 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 162, 167. libcsv.c 162</p> <p>Details at <a href="https://github.com/jay/CSV/pull/3" rel="nofollow">https://github.com/jay/CSV/pull/3</a></p></div>Jay SatiroThu, 02 Nov 2017 05:46:54 -0000https://sourceforge.net57158238c0b8792b262f62039311a8ab25506b76Aquileo | tab delimiter + blank cells = troublehttps://sourceforge.net/p/libcsv/bugs/3/<div class="markdown_content"><p>I ran into a problem with tab-delimited files. If a cell is blank, parsing goes hay-wire. The problem seems to be here:<br /> if (is_space ? is_space(c) : c == CSV_SPACE || c == CSV_TAB) { /* Space or Tab */<br /> continue;<br /> }<br /> Note that tabs will get consumed as whitespace here, even if they are the delimiter. This change:<br /> if ((is_space ? is_space(c) : c == CSV_SPACE || c == CSV_TAB) &amp;&amp; c!=delim) { /* Space or Tab */<br /> continue;<br /> }<br /> was sufficient to solve my problem and give consistently well-parsed TSV files.</p> <p>Thanks for writing and publishing libcsv, I'm using it in a toolbox for diffing/patching/merging tables (see <a href="http://share.find.coop\" rel="nofollow">http://share.find.coop\</a>).</p></div>Paul FitzpatrickFri, 30 Mar 2012 13:24:22 -0000https://sourceforge.netc7a32f91610f80f9d1afc72ade87d7a4d511d66cAquileo | make fails on Mac OS Xhttps://sourceforge.net/p/libcsv/bugs/2/<div class="markdown_content"><p>The make command fails when attempting to run:<br /> "gcc -shared libcsv.o -o libcsv.so"<br /> because the Apple gcc doesn't support the -shared flag. For more info, try: <a href="http://www.finkproject.org/doc/porting/shared.php" rel="nofollow">http://www.finkproject.org/doc/porting/shared.php</a> . </p></div>Sean LakeTue, 30 Jun 2009 08:33:39 -0000https://sourceforge.net200bb3623686e8628611ef0a90b783d4aef25a92Aquileo | bug with CSV_APPEND_NULLhttps://sourceforge.net/p/libcsv/bugs/1/<div class="markdown_content"><p>The string passed to cb1 seems to have an extra character at the end.</p> <p>I think line 52:<br /> ((p)-&gt;entry_buf[entry_pos+1]) = '\0'; \ should be<br /> ((p)-&gt;entry_buf[entry_pos]) = '\0'; \</p> <p>Thanks, great library otherwise.</p></div>AnonymousMon, 24 Nov 2008 04:58:02 -0000https://sourceforge.netf285d3a8e4f5e4ce2c34f0b6797de6b012eadea8