mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +00:00
Release 1.2.1 - Trust me
This commit is contained in:
parent
921cece22c
commit
391772c96d
@ -3,6 +3,7 @@
|
|||||||
#include <r_util.h>
|
#include <r_util.h>
|
||||||
#include <r_socket.h>
|
#include <r_socket.h>
|
||||||
|
|
||||||
|
#if __UNIX__
|
||||||
static void fwd(int sig) {
|
static void fwd(int sig) {
|
||||||
/* do nothing? send kill signal to remote process */
|
/* do nothing? send kill signal to remote process */
|
||||||
}
|
}
|
||||||
@ -17,6 +18,7 @@ static void rarun2_tty() {
|
|||||||
sleep (1);
|
sleep (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
char *file;
|
char *file;
|
||||||
@ -33,8 +35,13 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
file = argv[1];
|
file = argv[1];
|
||||||
if (!strcmp (file, "-t")) {
|
if (!strcmp (file, "-t")) {
|
||||||
|
#if __UNIX__
|
||||||
rarun2_tty ();
|
rarun2_tty ();
|
||||||
return 0;
|
return 0;
|
||||||
|
#else
|
||||||
|
eprintf ("Not supported\n");
|
||||||
|
return 1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (*file && !strchr (file, '=')) {
|
if (*file && !strchr (file, '=')) {
|
||||||
p = r_run_new (file);
|
p = r_run_new (file);
|
||||||
|
Loading…
Reference in New Issue
Block a user