Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0330/2

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


uname: bug fix
 [rsc] --rw-rw-r-- M 76409 glenda sys 520 Mar 30 08:01 sys/src/ape/lib/ap/plan9/uname.c
	/n/sourcesdump/2006/0330/plan9/sys/src/ape/lib/ap/plan9/uname.c:5,15 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/ape/lib/ap/plan9/uname.c:5,13
	  int
	  uname(struct utsname *n)
	  {
	- 	char *osname;
	- 	
	  	n->sysname = getenv("osname");
	  	if(!n->sysname)
	- 		osname = "Plan9";
	+ 		n->sysname = "Plan9";
	  	n->nodename = getenv("sysname");
	  	if(!n->nodename){
	  		n->nodename = getenv("site");


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.