[Bug 268479] lib/libc/stdlib/getenv.c may have a problem with putenv()

[email protected]
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268479

--- Comment #5 from Mark Millard <[email protected]> ---
(In reply to Mark Millard from comment #4)

I'll note that I only found the following for UNAME_s:

# grep -r "UNAME_[a-z]" /usr/main-src/ | grep -v "_[rvmp]" | more
/usr/main-src/lib/libc/gen/__xuname.c:  if ((p = getenv("UNAME_s")))
/usr/main-src/lib/libc/gen/uname.3:.Bl -tag -width ".Ev UNAME_s"
/usr/main-src/lib/libc/gen/uname.3:.It Ev UNAME_s
/usr/main-src/lib/libc/gen/uname.3:.Ev UNAME_s

So: no explicit control (assignments to) UNAME_s but tracking
in uname(3), via __xuname.c code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.