* 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

@@ -861,7 +861,7 @@ aclfromtext32 (char *acltextp, int *)
return NULL;
}
lacl[pos].a_id = pw->pw_uid;
c = strechr (c, ':');
c = strchrnul (c, ':');
}
else if (isdigit (*c))
lacl[pos].a_id = strtol (c, &c, 10);
@@ -889,7 +889,7 @@ aclfromtext32 (char *acltextp, int *)
return NULL;
}
lacl[pos].a_id = gr->gr_gid;
c = strechr (c, ':');
c = strchrnul (c, ':');
}
else if (isdigit (*c))
lacl[pos].a_id = strtol (c, &c, 10);