$NetBSD: patch-aa,v 1.1.1.1 2005/12/28 00:46:04 bencollver Exp $ --- main.c.orig 1997-10-26 07:49:38.000000000 -0800 +++ main.c @@ -2,6 +2,7 @@ Copyright (C) 1997 L.C. Benschop, Eindhoven, the Netherlands */ +#include #include #include #include @@ -75,7 +76,7 @@ int main ( int argc , char * argv[] ) signal(SIGINT,brk_handler); signal(SIGFPE,fpe_handler); signal(SIGSEGV,seg_handler); - for(;;) { + for(;argc>2;) { if( strcmp( argv[1] , "-d") == 0) { argv++;argc--; debugging=1;