From 616395cca380b11ca3a60c60640afe01fb222ae4 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 18 Apr 2011 22:46:21 +0200 Subject: [PATCH] * Fix help in radiff2 --- AUTHORS | 1 + TODO | 4 ++++ binr/radiff2/radiff2.c | 20 +++++++++----------- configure.acr | 1 + 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/AUTHORS b/AUTHORS index b523abf5b0..a7905286be 100644 --- a/AUTHORS +++ b/AUTHORS @@ -8,6 +8,7 @@ Contributors: (sorted by length) ================================ - esteve - Glyn Kennington + - @schrotthaufen - elektranox - neuroflip - rvalles diff --git a/TODO b/TODO index 737355c4a3..c54684b248 100644 --- a/TODO +++ b/TODO @@ -10,6 +10,10 @@ To wipe: - linestyle?? for disassembly lines - remove libr/vm and libr/db +To fix: +======= +* reading with io.va=true on out of foo results in shitty buffers + To do: ====== * libmagic internal :? -- find a decent implementation and adopt it diff --git a/binr/radiff2/radiff2.c b/binr/radiff2/radiff2.c index c5c17ed098..e987151bb2 100644 --- a/binr/radiff2/radiff2.c +++ b/binr/radiff2/radiff2.c @@ -5,9 +5,7 @@ static ut32 count = 0; -static int cb(struct r_diff_t *d, void *user, - struct r_diff_op_t *op) -{ +static int cb(RDiff *d, void *user, RDiffOp *op) { int i, rad = (int)(size_t)user; if (count) { count++; @@ -88,14 +86,14 @@ static void diff_bins(RCore *c, RCore *c2) { static int show_help(int line) { printf ("Usage: radiff2 [-nsdl] [file] [file]\n"); if (!line) printf ( -// " -l diff lines of text\n" - " -s calculate text distance\n" - " -c count of changes\n" - " -r radare commands\n" - " -d use delta diffing\n" - " -g graph diff\n" - " -v Use vaddr\n" - " -V show version information\n"); +// " -l diff lines of text\n" + " -s calculate text distance\n" + " -c count of changes\n" + " -r radare commands\n" + " -d use delta diffing\n" + " -g [sym] graph diff\n" + " -v use vaddr\n" + " -V show version information\n"); return 1; } diff --git a/configure.acr b/configure.acr index 585b3c77df..4b1ec2114e 100644 --- a/configure.acr +++ b/configure.acr @@ -40,6 +40,7 @@ IFEQ USEROSTYPE auto ; { USEROSTYPE = gnulinux ; }{ IFEQ HOST_OS gnu ; { + (( GNU / HURD )) USEROSTYPE = gnulinux ; }{ IFEQ HOST_OS gnu/kfreebsd ; {