Skip to content
Snippets Groups Projects
Commit 127c5e9b authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

remove getenv debugging

parent f8d5997e
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,6 @@ char *getenv(const char *name) ...@@ -8,8 +8,6 @@ char *getenv(const char *name)
int i; int i;
size_t l = strlen(name); size_t l = strlen(name);
printf("getenv called for %s\n", name);
if (!__environ || !*name || strchr(name, '=')) return NULL; if (!__environ || !*name || strchr(name, '=')) return NULL;
for (i=0; __environ[i] && (strncmp(name, __environ[i], l) for (i=0; __environ[i] && (strncmp(name, __environ[i], l)
|| __environ[i][l] != '='); i++); || __environ[i][l] != '='); i++);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment