* dcrt0.cc (quoted): Renamed strechr to strchrnul.

* environ.cc (environ_init): Likewise.
        * sec_acl.cc (aclfromtext32): Likewise.
        * sec_auth.cc (extract_nt_dom_user): Likewise.
        * uinfo.cc (pwdgrp::next_str): Likewise.
        * string.h (strechr): Likewise.
This commit is contained in:
Kai Tietz
2012-10-27 12:09:38 +00:00
parent 0222a24fe3
commit f71f133bda
7 changed files with 19 additions and 10 deletions

View File

@@ -489,7 +489,7 @@ char *
pwdgrp::next_str (char c)
{
char *res = lptr;
lptr = strechr (lptr, c);
lptr = strchrnul (lptr, c);
if (*lptr)
*lptr++ = '\0';
return res;