Skip to main content

Timeline for String separator, similar to strtok

Current License: CC BY-SA 3.0

16 events
when toggle format what by license comment
Jul 3 at 9:48 answer added alx - recommends codidact timeline score: 4
Aug 24, 2017 at 5:22 vote accept Chirality
Aug 23, 2017 at 16:12 comment added Chirality @TobySpeight Didn't ignore its findings. Check the edits on the original post. I had originally wanted help with fixing the memory leaks, but because of that 200_success marked it as off-topic. In order to make it "on-topic" he edited the original post.
Aug 23, 2017 at 14:42 comment added Toby Speight +1 for using Valgrind; -1 for ignoring its findings.
Aug 23, 2017 at 14:40 answer added Toby Speight timeline score: 2
Aug 23, 2017 at 14:30 answer added Toby Speight timeline score: 6
Aug 23, 2017 at 14:30 answer added Serge Ballesta timeline score: 4
Aug 23, 2017 at 14:17 answer added Serve Laurijssen timeline score: 1
Aug 23, 2017 at 12:44 history reopened 200_success
Aug 23, 2017 at 12:43 history edited 200_success CC BY-SA 3.0
bring the question on-topic
Aug 23, 2017 at 12:02 comment added Chirality @200_success Arguably, the code still works as intended. The issue here isn't really the memory leaks as it has no ill-effects on the actual outcome of the program. A short-lived program might suffer no apparent ill effects from a memory leak. In that case, the question could be considered on-topic, and the sloppiness would be fair material to be addressed in an answer.
Aug 23, 2017 at 6:31 comment added 200_success We expect your code to be working correctly as intended. Please fix any known memory leaks before proceeding with a review.
Aug 23, 2017 at 6:27 history closed 200_success Not suitable for this site
Aug 23, 2017 at 5:12 comment added Chirality Possible suggestion: Replace memcpy with for (l = 0; l < k; l++) strings[stringCount][l] = *(buf+l);to remove dependency on string.h and remove string.h.
Aug 23, 2017 at 4:37 history edited Chirality CC BY-SA 3.0
added 59 characters in body
Aug 23, 2017 at 3:22 history asked Chirality CC BY-SA 3.0