-
Notifications
You must be signed in to change notification settings - Fork 241
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
Z2 #862
Z2 #862
Conversation
4425f36
to
feb5293
Compare
v1b changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move the comments before the macro definition? This would make them more intuitive to read.
Perhaps adding unit tests would help you explain better how to use it. |
v1c changes:
|
v2 changes:
|
v2b changes:
|
v3 changes:
|
v3b changes:
|
13a5423
to
ce03092
Compare
v3c changes:
|
ce03092
to
f56f0be
Compare
v4 changes:
|
The function should never be used; it's always used via its wrapper macro. To simplify, and reduce chances of confusion: remove the function, and implement the macro directly in terms of stpcpy(mempcpy(strnlen())). Update the documentation, and improve the example, which was rather confusing. Cc: "Serge E. Hallyn" <[email protected]> Cc: Iker Pedrosa <[email protected]> Signed-off-by: Alejandro Colomar <[email protected]>
Signed-off-by: Alejandro Colomar <[email protected]>
v4b changes:
|
Queued after #861 (done)