* 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

@@ -829,7 +829,7 @@ environ_init (char **envp, int envc)
envp[i] = newp;
if (*newp == '=')
*newp = '!';
char *eq = strechr (newp, '=');
char *eq = strchrnul (newp, '=');
ucenv (newp, eq); /* uppercase env vars which need it */
if (*newp == 'T' && strncmp (newp, "TERM=", 5) == 0)
sawTERM = 1;