change log for rtems (2010-04-22)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Apr 22 07:11:13 UTC 2010


 *ccj*:
2010-04-22      Alin Rus <alin.codejunkie at gmail.com>

        * user/chain.t: Fixed the example from PR 1504.

M  1.267  doc/ChangeLog
M    1.6  doc/user/chains.t

diff -u rtems/doc/ChangeLog:1.266 rtems/doc/ChangeLog:1.267
--- rtems/doc/ChangeLog:1.266	Thu Mar  4 08:40:06 2010
+++ rtems/doc/ChangeLog	Thu Apr 22 01:47:28 2010
@@ -1,3 +1,7 @@
+2010-04-22	Alin Rus <alin.codejunkie at gmail.com>
+
+	* user/chain.t: Fixed the example from PR 1504.
+
 2010-03-04	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* user/conf.t: CONFIGURE_DISABLE_CLASSIC_NOTEPADS is typo of

diff -u rtems/doc/user/chains.t:1.5 rtems/doc/user/chains.t:1.6
--- rtems/doc/user/chains.t:1.5	Thu Nov 20 15:13:03 2008
+++ rtems/doc/user/chains.t	Thu Apr 22 01:47:28 2010
@@ -180,14 +180,15 @@
   while (!@value{DIRPREFIX}chain_is_tail (chain, node))
   @{
     bar = (foo*) node;
+    rtems_chain_node* next_node = node->next;
 
     if (strcmp (match, bar->data) == 0)
     @{
-      @value{DIRPREFIX}chain_node* next_node = node->next;
       @value{DIRPREFIX}chain_extract (node);
       @value{DIRPREFIX}chain_append (out, node);
-      node = next_node; 
     @}
+
+    node = next_node; 
   @}
 @}
 @end example



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100422/c46351df/attachment.html>


More information about the vc mailing list