You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some trivial bugs in strtok and strcat. I've (think?) I fixed strcat. For strtok I made a version that appears to work (for my trivial test case) for a single delimiter. See attached diff.
Wow! I didn't think I would actually get bug reports for this. So I am very sorry that I did not reply in a timely fashion, but better late than never I guess.
Feel free to fork the project and create a pull request for the bug. I lack time to fix any bugs for myself, but I will most likely test and merge any pull requests. Thanks for the diff anyhow, maybe I will still include it in the next couple days.
In addition I should make clear that the code should probably not be used for anything serious. It was just a finger stretching exercise in C for me.
Still, I would be interested in hearing how you found this little toy project of mine :)
There are some trivial bugs in strtok and strcat. I've (think?) I fixed strcat. For strtok I made a version that appears to work (for my trivial test case) for a single delimiter. See attached diff.
str.diff.txt
The text was updated successfully, but these errors were encountered: