Date: Sun, 25 Dec 2022 05:15:31 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv() Message-ID: <bug-268479-99-GOPjBQ1p8P@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268479-99@https.bugs.freebsd.org/bugzilla/> References: <bug-268479-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268479 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 i= ts value, if not, it only gets the value by sysctl. The original value will not change until it is rewritten by sysctl. ...is this? :) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268479-99-GOPjBQ1p8P>