Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs in strtok and strcat #1

Open
charles-gray opened this issue Jun 7, 2016 · 1 comment
Open

Bugs in strtok and strcat #1

charles-gray opened this issue Jun 7, 2016 · 1 comment

Comments

@charles-gray
Copy link

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

@yayachiken
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants