This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[issue 1000636] Try again after understanding issue properly


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/ChangeLog,v
retrieving revision 1.146
diff -u -5 -p -r1.146 ChangeLog
--- ChangeLog	14 Nov 2008 14:10:21 -0000	1.146
+++ ChangeLog	14 Nov 2008 14:23:12 -0000
@@ -1,9 +1,9 @@
 2008-11-14  Jonathan Larmour  <jifl@eCosCentric.com>
 
-	* tests/tm_basic.cxx (max): Resolve issue 1000636 with extra
-	bracketing.
+	* tests/tm_basic.cxx (max): Was wrong way round. Resolves issue
+	1000636.
 
 2008-07-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* include/thread.inl: Silence some warnings by assigning
 	string literals to const char *, not char *.
Index: tests/tm_basic.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/tests/tm_basic.cxx,v
retrieving revision 1.24
diff -u -5 -p -r1.24 tm_basic.cxx
--- tests/tm_basic.cxx	14 Nov 2008 14:10:21 -0000	1.24
+++ tests/tm_basic.cxx	14 Nov 2008 14:23:13 -0000
@@ -208,11 +208,11 @@ void run_semaphore_circuit_test(void);
 void run_counter_tests(void);
 void run_flag_tests(void);
 void run_alarm_tests(void);
 
 #ifndef max
-#define max(n,m) ((m) > (n) ? (n) : (m))
+#define max(n,m) ((m) > (n) ? (m) : (n))
 #endif
 
 // Wait until a clock tick [real time clock] has passed.  This should keep it
 // from happening again during a measurement, thus minimizing any fluctuations
 void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]