[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

Tatsuki Makino <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Tatsuki Makino <[email protected]> ---
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.
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.