change log for rtems (2011-02-01)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Feb 2 05:10:30 UTC 2011
*ralf*:
2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/shell/hexdump-display.c:
Eliminate bcopy, bzero, bcmp, index (Obsolete).
* libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
* libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
* libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
* libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
M 1.2700 cpukit/ChangeLog
M 1.6 cpukit/libmisc/shell/hexdump-display.c
M 1.8 cpukit/libmisc/shell/hexdump-parse.c
M 1.5 cpukit/libmisc/shell/hexsyntax.c
M 1.5 cpukit/libmisc/shell/main_hexdump.c
M 1.12 cpukit/libmisc/shell/main_rm.c
diff -u rtems/cpukit/ChangeLog:1.2699 rtems/cpukit/ChangeLog:1.2700
--- rtems/cpukit/ChangeLog:1.2699 Tue Feb 1 14:22:08 2011
+++ rtems/cpukit/ChangeLog Tue Feb 1 22:21:25 2011
@@ -1,3 +1,12 @@
+2011-02-02 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/shell/hexdump-display.c:
+ Eliminate bcopy, bzero, bcmp, index (Obsolete).
+ * libmisc/shell/hexdump-parse.c: Eliminate index (Obsolete).
+ * libmisc/shell/hexsyntax.c: Eliminate rindex (Obsolete).
+ * libmisc/shell/main_hexdump.c: Eliminate rindex (Obsolete).
+ * libmisc/shell/main_rm.c: Eliminate rindex (Obsolete).
+
2011-02-01 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1733/cpukit
diff -u rtems/cpukit/libmisc/shell/hexdump-display.c:1.5 rtems/cpukit/libmisc/shell/hexdump-display.c:1.6
--- rtems/cpukit/libmisc/shell/hexdump-display.c:1.5 Fri Mar 26 12:42:23 2010
+++ rtems/cpukit/libmisc/shell/hexdump-display.c Tue Feb 1 22:21:25 2011
@@ -56,12 +56,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
#include <unistd.h>
#include "hexdump.h"
+#define bcmp(s1,s2,sz) memcmp(s1,s2,sz)
+#define bcopy(s,d,sz) memcpy(d,s,sz)
+#define bzero(s,sz) memset(s,0,sz)
+#define index(s,c) strchr(s,c)
+
#if RTEMS_REMOVED
enum _vflag vflag = FIRST;
diff -u rtems/cpukit/libmisc/shell/hexdump-parse.c:1.7 rtems/cpukit/libmisc/shell/hexdump-parse.c:1.8
--- rtems/cpukit/libmisc/shell/hexdump-parse.c:1.7 Fri Mar 26 12:42:24 2010
+++ rtems/cpukit/libmisc/shell/hexdump-parse.c Tue Feb 1 22:21:25 2011
@@ -51,9 +51,8 @@
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
+
+#define index(s,c) strchr(s,c)
#include "hexdump.h"
diff -u rtems/cpukit/libmisc/shell/hexsyntax.c:1.4 rtems/cpukit/libmisc/shell/hexsyntax.c:1.5
--- rtems/cpukit/libmisc/shell/hexsyntax.c:1.4 Fri Mar 26 12:42:24 2010
+++ rtems/cpukit/libmisc/shell/hexsyntax.c Tue Feb 1 22:21:25 2011
@@ -49,11 +49,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
#include <unistd.h>
+#define rindex(s,c) strrchr(s,c)
+
#include "hexdump.h"
#define __need_getopt_newlib
diff -u rtems/cpukit/libmisc/shell/main_hexdump.c:1.4 rtems/cpukit/libmisc/shell/main_hexdump.c:1.5
--- rtems/cpukit/libmisc/shell/main_hexdump.c:1.4 Fri Mar 26 12:42:24 2010
+++ rtems/cpukit/libmisc/shell/main_hexdump.c Tue Feb 1 22:21:25 2011
@@ -58,9 +58,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
+
+#define rindex(s,c) strrchr(s,c)
+
#include "hexdump.h"
#if RTEMS_REMOVED
diff -u rtems/cpukit/libmisc/shell/main_rm.c:1.11 rtems/cpukit/libmisc/shell/main_rm.c:1.12
--- rtems/cpukit/libmisc/shell/main_rm.c:1.11 Fri Mar 26 12:42:24 2010
+++ rtems/cpukit/libmisc/shell/main_rm.c Tue Feb 1 22:21:26 2011
@@ -65,11 +65,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
#include <unistd.h>
+#define rindex(s,c) strrchr(s,c)
+
/* RTEMS specific changes */
typedef struct {
int dflag, eval, fflag, iflag, Pflag, vflag, Wflag, stdin_ok;
--
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/20110201/66ebf2c9/attachment-0001.html>
More information about the vc
mailing list