diff --git a/a.out b/a.out new file mode 100755 index 0000000..4ac5b07 Binary files /dev/null and b/a.out differ diff --git a/fun_1.c b/fun_1.c index 8fe04f9..fa6a57d 100644 --- a/fun_1.c +++ b/fun_1.c @@ -30,7 +30,6 @@ void eval(char *cmdline) int fd = open( "/dev/null", O_RDWR ); dup2( fd, 0 ); dup2( fd, 1 ); - signal(SIGCHLD, SIG_IGN); } if(execvp(argv[0],argv)<0) { diff --git a/main b/main index 1f5e5d4..3cc7afc 100755 Binary files a/main and b/main differ diff --git a/mytop.c b/mytop.c index fce6b4e..43c6998 100644 --- a/mytop.c +++ b/mytop.c @@ -1,4 +1,4 @@ -/* + #define mytop_h #include #include @@ -399,9 +399,4 @@ int mytop(){ //fflush(NULL); return 0; -} -*/ -int mytop() -{ - } \ No newline at end of file