Lines Matching defs:real_path
158 static char real_path[PATH_MAX * 2];
179 if (realpath(path, real_path) == NULL) {
183 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) {
189 if (realpath(".", real_path) == NULL) {
192 if (strlcat(real_path, "/", sizeof(real_path)) > sizeof(real_path)) {
196 if (strlcat(real_path, path, sizeof(real_path)) > sizeof(real_path)) {
203 * The environment variable is used to pass the value of real_path
211 setenv("__PYVENV_LAUNCHER__", real_path, 1);