As many people has pointed out, using assert(3) shall be not the best
approach to verify if strdup(3) has allocated memory to string.
So, I'm updating this manpage example section.
Differential D15594
Update strsetp(3) EXAMPLE section. araujo on May 28 2018, 4:24 AM. Authored by Tags None Referenced Files
Subscribers
Details As many people has pointed out, using assert(3) shall be not the best So, I'm updating this manpage example section.
Diff Detail
Event TimelineComment Actions Thanks for doing this... Others in the tree if you feel inclined, otherwise a bug might be in order so we don't lose it. /crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_support.3: assert(s == NULL); Comment Actions Hi, Yes, I'm inclined to do this clean up and we all can avoid confusion in the future. Thanks,
|