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

Tok itr #12

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Tok itr #12

wants to merge 8 commits into from

Conversation

cantora
Copy link

@cantora cantora commented Apr 5, 2013

Hi Rusty,
Here is another pull request with changes based on your suggestions. Ive sent an email to the list with an explanation.

cantora added 8 commits March 20, 2013 22:24
iterates over tokens in a string which are separated by a
delimiter without modifying the string.
the first draft of this module made it impossible for
a user of the module to prevent truncation of tokens
in the case where a token exceeded the length of the buffer
passed to tok_itr_val. these changes rearrange the code
so that the length of the token is known before a call
to tok_itr_val. since the length of the token is known
before hand, an appropriately sized buffer can be allocated
for each token before making a call to tok_itr_val.
also removed some trailing whitespace
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

Successfully merging this pull request may close these issues.

1 participant