summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPixel <>2001-04-17 03:20:16 +0000
committerPixel <>2001-04-17 03:20:16 +0000
commita856126fe7e965bc80d17690732ee58343a655d3 (patch)
tree5464a45d4ef03e2efdcc7788de31226832a0a45c /src
parentf12eda64018215310e5d563ebaf9fe4d46db24ff (diff)
Pouearf
Diffstat (limited to 'src')
-rw-r--r--src/compilo.c3
-rw-r--r--src/simul.c8
2 files changed, 7 insertions, 4 deletions
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;