From a856126fe7e965bc80d17690732ee58343a655d3 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Tue, 17 Apr 2001 03:20:16 +0000 Subject: Pouearf --- src/compilo.c | 3 ++- src/simul.c | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/compilo.c b/src/compilo.c index b4c44e9..12a6f05 100644 --- a/src/compilo.c +++ b/src/compilo.c @@ -60,8 +60,9 @@ int main(int argc, char **argv) { invite(); +#ifndef DEBUG signal(SIGSEGV, segfaulthand); - +#endif if (argc != 3) usage(); diff --git a/src/simul.c b/src/simul.c index 7b56ce1..e531150 100644 --- a/src/simul.c +++ b/src/simul.c @@ -18,7 +18,7 @@ void invite(void) void usage(void) { - fprintf(stderr, _("Usage: linker [-q] [-d] binary\n")); + fprintf(stderr, _("Usage: linker [-s] [-d] binary\n")); exit(0); } @@ -49,12 +49,14 @@ char * readargs(int argc, char ** argv) { argc--; argv++; + + Rapide = 1; while (argc) { if (**argv == '-') { switch ((*argv)[1]) { - case 'q': - Rapide = 1; + case 's': + Rapide = 0; break; case 'd': debug = 1; -- cgit v1.2.3