Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80fd4549 authored by Dan Austin's avatar Dan Austin
Browse files

Address const issue in preparation for libcxx rebase.

Change-Id: I80c3349ee93d2b3f16c6fadc7f34b2bf4f2cc0d3
parent 8aeabe15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ bool Subprocess::ForkAndExec(std::string* error) {
        char** current = environ;
        while (char* env_cstr = *current++) {
            std::string env_string = env_cstr;
            char* delimiter = strchr(env_string.c_str(), '=');
            char* delimiter = strchr(&env_string[0], '=');

            // Drop any values that don't contain '='.
            if (delimiter) {