jehanne/sys/src/lib/c
Giacomo Tesio 65cdad4317 libc: rewrite putenv and getenv.
These new implementations

- do several validity check on input parameters
- allow a bit larger variable names (127 bytes, aka sizeof(Proc.genbuf)-1)
- preserve nulls in the content (the original version used to replace
  '\0' with ' '). I can't see why they did, actually.
  See also http://marc.info/?l=9fans&m=148475801229908&w=2

Should also fix CID 155718
2017-01-19 00:58:43 +01:00
..
9sys libc: rewrite putenv and getenv. 2017-01-19 00:58:43 +01:00
amd64 first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
apw libc: fix potential nil dereference in system() posix wrapper 2017-01-18 23:36:18 +01:00
fmt first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
port libc: rewrite putenv and getenv. 2017-01-19 00:58:43 +01:00
.gitignore first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
build.json qa: build everything with -Werror 2017-01-12 00:38:56 +01:00
klibc.json qa: build everything with -Werror 2017-01-12 00:38:56 +01:00