From 4a5165f23288f0de04605caa8506b3b05c82e0c0 Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 3 Jan 2014 01:03:39 +0100 Subject: [PATCH] Add missing Jamroot files in binr/ --- binr/r2agent/Jamroot | 5 +++++ binr/ragg2/Jamroot | 7 +++++++ binr/rahash2/Jamroot | 5 +++++ binr/rarun2/Jamroot | 4 ++++ libr/asm/asm.c | 4 +--- 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 binr/r2agent/Jamroot create mode 100644 binr/ragg2/Jamroot create mode 100644 binr/rahash2/Jamroot create mode 100644 binr/rarun2/Jamroot diff --git a/binr/r2agent/Jamroot b/binr/r2agent/Jamroot new file mode 100644 index 0000000000..c08347615f --- /dev/null +++ b/binr/r2agent/Jamroot @@ -0,0 +1,5 @@ +exe r2agent : r2agent.c : + ../../libr/util + ../../libr/cons + ../../libr/socket + ../../libr/include ; diff --git a/binr/ragg2/Jamroot b/binr/ragg2/Jamroot new file mode 100644 index 0000000000..92758077ae --- /dev/null +++ b/binr/ragg2/Jamroot @@ -0,0 +1,7 @@ +exe ragg2 : ragg2.c : + LIBDIR="" + ../../libr/bin + ../../libr/egg + ../../libr/util + ../../libr/include +; diff --git a/binr/rahash2/Jamroot b/binr/rahash2/Jamroot new file mode 100644 index 0000000000..27a64425c4 --- /dev/null +++ b/binr/rahash2/Jamroot @@ -0,0 +1,5 @@ +exe rahash2 : rahash2.c : + ../../libr/util + ../../libr/hash + ../../libr/io + ../../libr/include ; diff --git a/binr/rarun2/Jamroot b/binr/rarun2/Jamroot new file mode 100644 index 0000000000..7ee1def882 --- /dev/null +++ b/binr/rarun2/Jamroot @@ -0,0 +1,4 @@ +exe rarun2 : rarun2.c : + ../../libr/util + ../../libr/socket + ../../libr/include ; diff --git a/libr/asm/asm.c b/libr/asm/asm.c index 83599dcf29..7385ec4bac 100644 --- a/libr/asm/asm.c +++ b/libr/asm/asm.c @@ -221,13 +221,11 @@ R_API int r_asm_del(RAsm *a, const char *name) { R_API int r_asm_is_valid(RAsm *a, const char *name) { - char file[1024]; RAsmPlugin *h; RListIter *iter; r_list_foreach (a->plugins, iter, h) { - if (!strcmp (h->name, name)) { + if (!strcmp (h->name, name)) return R_TRUE; - } } return R_FALSE; }