[mvapich-discuss] Bad variable names in OSU benchmarks

Sayantan Sur surs at cse.ohio-state.edu
Mon Oct 30 14:25:17 EST 2006


Hi Jeff,

Thanks for your note. We will remove these unused variables.

Sayantan.



* On Oct,1 Jeff Squyres<jsquyres at cisco.com> wrote :
> Greetings.
> 
> I notice that three of the OSU benchmarks have global variables named  
> "stat" in them.  This is not a good idea because there is a system  
> call named stat (see stat(2)).  Having a global variable with the  
> same name as a system call can lead to unexpected and disastrous  
> results.
> 
> Additionally, these poorly-named global variables are not used.  So  
> it's probably safest just to remove them.  A patch is attached.
> 
> -- 
> Jeff Squyres
> Server Virtualization Business Unit
> Cisco Systems


> 
> 

> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


-- 
http://www.cse.ohio-state.edu/~surs


More information about the mvapich-discuss mailing list