change log for rtems (2010-06-16)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Jun 16 14:11:30 UTC 2010
*ralf* (on branch rtems-4-10-branch):
2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
PR 1566/filesystem
* libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h:
Let rtems_rootfs_append_host_rec take an in_addr_t as first arg.
* libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c:
Reflect changes above.
M 1.2397 cpukit/ChangeLog
M 1.2346.2.19 cpukit/ChangeLog
M 1.31 cpukit/libnetworking/nfs/bootp_subr.c
M 1.29.2.2 cpukit/libnetworking/nfs/bootp_subr.c
M 1.11 cpukit/libnetworking/rtems/mkrootfs.h
M 1.8.4.2 cpukit/libnetworking/rtems/mkrootfs.h
M 1.14 cpukit/libnetworking/rtems/mkrootfs.c
M 1.11.2.1 cpukit/libnetworking/rtems/mkrootfs.c
M 1.7 cpukit/libnetworking/rtems/rtems_dhcp.c
M 1.6.2.1 cpukit/libnetworking/rtems/rtems_dhcp.c
diff -u rtems/cpukit/ChangeLog:1.2396 rtems/cpukit/ChangeLog:1.2397
--- rtems/cpukit/ChangeLog:1.2396 Tue Jun 15 18:34:55 2010
+++ rtems/cpukit/ChangeLog Wed Jun 16 08:50:21 2010
@@ -1,5 +1,13 @@
2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+ PR 1566/filesystem
+ * libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h:
+ Let rtems_rootfs_append_host_rec take an in_addr_t as first arg.
+ * libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c:
+ Reflect changes above.
+
+2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libfs/src/rfs/rtems-rfs-dir.c: Various 64bit compatibility fixes.
Add PRIdoff_t.
Remove stray "\"s.
diff -u rtems/cpukit/ChangeLog:1.2346.2.18 rtems/cpukit/ChangeLog:1.2346.2.19
--- rtems/cpukit/ChangeLog:1.2346.2.18 Tue Jun 15 18:35:04 2010
+++ rtems/cpukit/ChangeLog Wed Jun 16 08:52:03 2010
@@ -1,5 +1,13 @@
2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+ PR 1566/filesystem
+ * libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h:
+ Let rtems_rootfs_append_host_rec take an in_addr_t as first arg.
+ * libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c:
+ Reflect changes above.
+
+2010-06-15 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* libfs/src/rfs/rtems-rfs-dir.c: Various 64bit compatibility fixes.
Add PRIdoff_t.
Remove stray "\"s.
diff -u rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.30 rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.31
--- rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.30 Tue Jun 15 08:35:28 2010
+++ rtems/cpukit/libnetworking/nfs/bootp_subr.c Wed Jun 16 08:50:23 2010
@@ -1153,7 +1153,7 @@
dn = "mydomain";
if (!hn)
hn = "me";
- rtems_rootfs_append_host_rec(*((unsigned long*) &myaddr.sin_addr), hn, dn);
+ rtems_rootfs_append_host_rec(myaddr.sin_addr.s_addr, hn, dn);
/*
* Should the given domainname be used here ?
@@ -1163,12 +1163,12 @@
hn = rtems_bsdnet_bootp_server_name;
else
hn = "bootps";
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_bootp_server_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_bootp_server_address.s_addr,
hn, dn);
}
if (dhcp_gotlogserver) {
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_log_host_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_log_host_address.s_addr,
"logs", dn);
}
diff -u rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.29.2.1 rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.29.2.2
--- rtems/cpukit/libnetworking/nfs/bootp_subr.c:1.29.2.1 Tue Jun 15 08:35:53 2010
+++ rtems/cpukit/libnetworking/nfs/bootp_subr.c Wed Jun 16 08:52:04 2010
@@ -1153,7 +1153,7 @@
dn = "mydomain";
if (!hn)
hn = "me";
- rtems_rootfs_append_host_rec(*((unsigned long*) &myaddr.sin_addr), hn, dn);
+ rtems_rootfs_append_host_rec(myaddr.sin_addr.s_addr, hn, dn);
/*
* Should the given domainname be used here ?
@@ -1163,12 +1163,12 @@
hn = rtems_bsdnet_bootp_server_name;
else
hn = "bootps";
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_bootp_server_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_bootp_server_address.s_addr,
hn, dn);
}
if (dhcp_gotlogserver) {
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_log_host_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_log_host_address.s_addr,
"logs", dn);
}
diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.10 rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.11
--- rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.10 Mon Jun 14 01:08:40 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.h Wed Jun 16 08:50:23 2010
@@ -46,7 +46,7 @@
*/
int
-rtems_rootfs_append_host_rec (unsigned long cip,
+rtems_rootfs_append_host_rec (in_addr_t cip,
const char *cname,
const char *dname);
diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.8.4.1 rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.8.4.2
--- rtems/cpukit/libnetworking/rtems/mkrootfs.h:1.8.4.1 Mon Jun 14 01:09:11 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.h Wed Jun 16 08:52:04 2010
@@ -53,7 +53,7 @@
*/
int
-rtems_rootfs_append_host_rec (unsigned long cip,
+rtems_rootfs_append_host_rec (in_addr_t cip,
const char *cname,
const char *dname);
diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.13 rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.14
--- rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.13 Sat Jun 12 12:55:13 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.c Wed Jun 16 08:50:22 2010
@@ -166,7 +166,7 @@
*/
int
-rtems_rootfs_append_host_rec (unsigned long cip,
+rtems_rootfs_append_host_rec (in_addr_t cip,
const char *cname,
const char *dname)
{
diff -u rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.11 rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.11.2.1
--- rtems/cpukit/libnetworking/rtems/mkrootfs.c:1.11 Sun Jan 31 18:03:01 2010
+++ rtems/cpukit/libnetworking/rtems/mkrootfs.c Wed Jun 16 08:52:04 2010
@@ -255,7 +255,7 @@
*/
int
-rtems_rootfs_append_host_rec (unsigned long cip,
+rtems_rootfs_append_host_rec (in_addr_t cip,
const char *cname,
const char *dname)
{
diff -u rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.6 rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.7
--- rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.6 Mon Nov 30 09:57:51 2009
+++ rtems/cpukit/libnetworking/rtems/rtems_dhcp.c Wed Jun 16 08:50:23 2010
@@ -1048,7 +1048,7 @@
hn = "me";
sethostname (hn, strlen (hn));
}
- rtems_rootfs_append_host_rec(*((unsigned long*) &myaddr.sin_addr), hn, dn);
+ rtems_rootfs_append_host_rec(myaddr.sin_addr.s_addr, hn, dn);
/*
* Should the given domainname be used here ?
@@ -1058,12 +1058,12 @@
hn = rtems_bsdnet_bootp_server_name;
else
hn = "bootps";
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_bootp_server_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_bootp_server_address.s_addr,
hn, dn);
}
if (dhcp_gotlogserver) {
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_log_host_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_log_host_address.s_addr,
"logs", dn);
}
diff -u rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.6 rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.6.2.1
--- rtems/cpukit/libnetworking/rtems/rtems_dhcp.c:1.6 Mon Nov 30 09:57:51 2009
+++ rtems/cpukit/libnetworking/rtems/rtems_dhcp.c Wed Jun 16 08:52:04 2010
@@ -1048,7 +1048,7 @@
hn = "me";
sethostname (hn, strlen (hn));
}
- rtems_rootfs_append_host_rec(*((unsigned long*) &myaddr.sin_addr), hn, dn);
+ rtems_rootfs_append_host_rec(myaddr.sin_addr.s_addr, hn, dn);
/*
* Should the given domainname be used here ?
@@ -1058,12 +1058,12 @@
hn = rtems_bsdnet_bootp_server_name;
else
hn = "bootps";
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_bootp_server_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_bootp_server_address.s_addr,
hn, dn);
}
if (dhcp_gotlogserver) {
- rtems_rootfs_append_host_rec(*((unsigned long *) &rtems_bsdnet_log_host_address),
+ rtems_rootfs_append_host_rec(rtems_bsdnet_log_host_address.s_addr,
"logs", dn);
}
--
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/20100616/966aa5f0/attachment.html>
More information about the vc
mailing list