Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0211/13

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


Don't return stack buffers.
 [rsc] --rw-rw-r-- M 771144 glenda sys 10238 Feb 11 18:11 sys/src/cmd/upas/smtp/spam.c
	/n/sourcesdump/2006/0211/plan9/sys/src/cmd/upas/smtp/spam.c:62,68 - 
	/n/sourcesdump/2006/0212/plan9/sys/src/cmd/upas/smtp/spam.c:62,68
	  char*
	  actstr(int a)
	  {
	- 	char buf[32];
	+ 	static char buf[32];
	  	Keyword *p;
	  
	  	for(p=actions; p->name; p++)


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.