Date: Tue, 30 May 1995 19:30:06 -0700 From: ywliu@psi.wsl.sinica.edu.tw To: freebsd-bugs Subject: kern/462: uname() bug Message-ID: <199505310230.TAA20385@freefall.cdrom.com> In-Reply-To: Your message of Wed, 31 May 1995 10:30:47 GMT <199505311030.KAA24252@psi.wsl.sinica.edu.tw>
index | next in thread | previous in thread | raw e-mail
>Number: 462
>Category: kern
>Synopsis: struct utsname.version corrupted after calling uname()
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs (FreeBSD bugs mailing list)
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 30 19:30:02 1995
>Originator: Yen-Wei Liu
>Organization:
>Release: FreeBSD 2.0.950412-SNAP i386
>Environment:
Generic motherboard with Intel i486DX-33. SCSI 650MB HD.
>Description:
For a struct utsname, after calling uname(), uts.version seems to
contain corrupted string.
>How-To-Repeat:
For the following period of code.
struct utsname uts;
uname(&uts);
printf("on %s %s.%s",uts.sysname,uts.release, uts.version);
Printf results :
on FreeBSD 2.0.950412-SNAP.Ý¿ï`ðÍàÞ¿ï
the uts.version seems corrupted.
>Fix:
None. Is it my problem or uname's ? Since I didn't build world, just kernel
and uname() were rebuilt...
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505310230.TAA20385>
