Switch to the upstream OpenBSD getenv/putenv/setenv implementation.

This fixes all the bugs found by the new tests.

Change-Id: Id5a5f9f39a0620208bafa053f871a044725b4795
This commit is contained in:
Elliott Hughes
2014-04-22 17:41:00 -07:00
parent 635edbdf93
commit 58d9e280d4
7 changed files with 123 additions and 99 deletions

View File

@@ -47,7 +47,8 @@ __BEGIN_DECLS
#define SEEK_CUR 1
#define SEEK_END 2
extern char **environ;
extern char** environ;
extern __noreturn void _exit(int);
extern pid_t fork(void);