[Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv()
Date: Sun, 25 Dec 2022 05:15:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268479 Tatsuki Makino <tatsuki_makino@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuki_makino@hotmail.com --- Comment #9 from Tatsuki Makino <tatsuki_makino@hotmail.com> --- Mmm-hmm? uname(1) and uname(3) are just acting on behalf of sysctl. The files involved are... uname(1): /usr/src/usr.bin/uname/uname.c uname(3): /usr/src/sys/sys/utsname.h /usr/src/lib/libc/gen/uname.c /usr/src/lib/libc/gen/__xuname.c Looking at them, if there is UNAME_* environment variable, it only echoes its value, if not, it only gets the value by sysctl. The original value will not change until it is rewritten by sysctl. ...is this? :) -- You are receiving this mail because: You are the assignee for the bug.