change log for rtems (2010-09-01)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Sep 1 07:10:20 UTC 2010


 *ralf*:
2010-09-01	Ralf Corsépius <ralf.corsepius at rtems.org>

	* POSIX/Makefile.am: Add htonl.
	* POSIX/htonl.c: New.

M  1.239  testsuites/libtests/ChangeLog
M 1.176.2.1  testsuites/libtests/ChangeLog
M    1.6  testsuites/libtests/POSIX/Makefile.am
M 1.5.2.1  testsuites/libtests/POSIX/Makefile.am
A    1.1  testsuites/libtests/POSIX/htonl.c

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
@@ -1,3 +1,8 @@
+2010-09-01	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* POSIX/Makefile.am: Add htonl.
+	* POSIX/htonl.c: New.
+
 2010-08-25	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* malloctest/init.c: Update for heap API changes.

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
@@ -1,3 +1,8 @@
+2010-09-01	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* POSIX/Makefile.am: Add htonl.
+	* POSIX/htonl.c: New.
+
 2010-05-17	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	PR 1433/cpukit

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
@@ -52,6 +52,9 @@
 # check_PROGRAMS += issetugid
 # issetugid_SOURCES = issetugid.c
 
+check_PROGRAMS += htonl
+htonl_SOURCES = htonl.c
+
 check_PROGRAMS += lseek
 lseek_SOURCES = lseek.c
 

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
@@ -52,6 +52,9 @@
 # check_PROGRAMS += issetugid
 # issetugid_SOURCES = issetugid.c
 
+check_PROGRAMS += htonl
+htonl_SOURCES = htonl.c
+
 check_PROGRAMS += lseek
 lseek_SOURCES = lseek.c
 

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
@@ -0,0 +1,24 @@
+/*
+ * 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);
+  
+  return 0;
+}



--

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/20100901/4044e1a5/attachment.html>


More information about the vc mailing list