3 Mar
2008
3 Mar
'08
2:38 p.m.
Hi, On Sun, Mar 02, 2008 at 09:20:53PM +0000, place wrote:
For:
+ // BUG: strstr stops at NULL. Cannot use for file inputs. + success = !strstr(DataStr->str, boundary->str);
please use memcmp().
How about if I make a separate patch for that at some point with a Dstr_memmem() or something like that?
OK.
Some basic testing would be welcomed, but the main probe will be done by usage when committed.
I added some comments, changed the size of my dList_new() because the old value -- a holdover from when I thought I'd do it differently -- could mislead the unwary, and moved the dStr_free(boundary) down a little, but this version should have no functional changes from the version sent to the list yesterday.
Committed. -- Cheers Jorge.-