From: Subrata <sub...@us...> - 2008-01-28 11:33:21
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/times In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18754/ltp/testcases/kernel/syscalls/times Modified Files: times03.c Log Message: Adding volatile to avoid the compiler optimization to produce an infinite, by, Carmelo AMOROSO <car...@st...>, Haavard Skinnemoen <hsk...@at...> Index: times03.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/times/times03.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** times03.c 6 Aug 2007 10:53:51 -0000 1.6 --- times03.c 28 Jan 2008 11:33:15 -0000 1.7 *************** *** 59,63 **** extern int Tst_count; int exp_enos[]={0}; ! int timeout; /* Did we timeout in alarm() ? */ void work(void); --- 59,63 ---- extern int Tst_count; int exp_enos[]={0}; ! volatile int timeout; /* Did we timeout in alarm() ? */ void work(void); |