<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-09-01)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>

        * POSIX/Makefile.am: Add htonl.
        * POSIX/htonl.c: New.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.238&r2=text&tr2=1.239&diff_format=h">M</a></td><td width='1%'>1.239</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.176&r2=text&tr2=1.176.2.1&diff_format=h">M</a></td><td width='1%'>1.176.2.1</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/POSIX/Makefile.am.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>testsuites/libtests/POSIX/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/POSIX/Makefile.am.diff?r1=text&tr1=1.5&r2=text&tr2=1.5.2.1&diff_format=h">M</a></td><td width='1%'>1.5.2.1</td><td width='100%'>testsuites/libtests/POSIX/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/POSIX/htonl.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/libtests/POSIX/htonl.c</font></td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.238 rtems/testsuites/libtests/ChangeLog:1.239
--- rtems/testsuites/libtests/ChangeLog:1.238   Wed Aug 25 07:38:48 2010
+++ rtems/testsuites/libtests/ChangeLog Wed Sep  1 01:42:58 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-09-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * POSIX/Makefile.am: Add htonl.
+       * POSIX/htonl.c: New.
+
</font> 2010-08-25        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * malloctest/init.c: Update for heap API changes.

<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.176 rtems/testsuites/libtests/ChangeLog:1.176.2.1
--- rtems/testsuites/libtests/ChangeLog:1.176   Mon May 17 03:34:55 2010
+++ rtems/testsuites/libtests/ChangeLog Wed Sep  1 01:45:47 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-09-01    Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * POSIX/Makefile.am: Add htonl.
+       * POSIX/htonl.c: New.
+
</font> 2010-05-17        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        PR 1433/cpukit

<font color='#006600'>diff -u rtems/testsuites/libtests/POSIX/Makefile.am:1.5 rtems/testsuites/libtests/POSIX/Makefile.am:1.6
--- rtems/testsuites/libtests/POSIX/Makefile.am:1.5     Sun Apr 11 11:44:35 2010
+++ rtems/testsuites/libtests/POSIX/Makefile.am Wed Sep  1 01:42:58 2010
</font><font color='#997700'>@@ -52,6 +52,9 @@
</font> # check_PROGRAMS += issetugid
 # issetugid_SOURCES = issetugid.c
 
<font color='#000088'>+check_PROGRAMS += htonl
+htonl_SOURCES = htonl.c
+
</font> check_PROGRAMS += lseek
 lseek_SOURCES = lseek.c
 

<font color='#006600'>diff -u rtems/testsuites/libtests/POSIX/Makefile.am:1.5 rtems/testsuites/libtests/POSIX/Makefile.am:1.5.2.1
--- rtems/testsuites/libtests/POSIX/Makefile.am:1.5     Sun Apr 11 11:44:35 2010
+++ rtems/testsuites/libtests/POSIX/Makefile.am Wed Sep  1 01:45:47 2010
</font><font color='#997700'>@@ -52,6 +52,9 @@
</font> # check_PROGRAMS += issetugid
 # issetugid_SOURCES = issetugid.c
 
<font color='#000088'>+check_PROGRAMS += htonl
+htonl_SOURCES = htonl.c
+
</font> check_PROGRAMS += lseek
 lseek_SOURCES = lseek.c
 

<font color='#006600'>diff -u /dev/null rtems/testsuites/libtests/POSIX/htonl.c:1.1
--- /dev/null   Wed Sep  1 02:10:19 2010
+++ rtems/testsuites/libtests/POSIX/htonl.c     Wed Sep  1 01:42:58 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+/*
+ * Copyright (c) 2010 by
+ * Ralf Corsépius, Ulm, Germany. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * is freely granted, provided that this notice is preserved.
+ */
+
+#include <arpa/inet.h>
+
+int
+main (void)
+{
+  uint32_t u32;
+  uint16_t u16;
+
+  u32 = htonl(0x12345678);
+  u16 = htons(0x1234);
+
+  u32 = ntohl(0x12345678);
+  u16 = ntohs(0x1234);
+<span style="background-color: #FF0000">  </span>
+  return 0;
+}
</font></pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>