From owner-freebsd-bugs Tue May 30 19:30:11 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA20404 for bugs-outgoing; Tue, 30 May 1995 19:30:11 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA20385 ; Tue, 30 May 1995 19:30:06 -0700 Date: Tue, 30 May 1995 19:30:06 -0700 Message-Id: <199505310230.TAA20385@freefall.cdrom.com> From: ywliu@psi.wsl.sinica.edu.tw Reply-To: ywliu@psi.wsl.sinica.edu.tw To: freebsd-bugs Subject: kern/462: uname() bug In-Reply-To: Your message of Wed, 31 May 1995 10:30:47 GMT <199505311030.KAA24252@psi.wsl.sinica.edu.tw> Sender: bugs-owner@FreeBSD.org Precedence: bulk >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: