Explorar el Código

we dont need to loop calling abort() because abort() already loops for us

Mike Frysinger hace 20 años
padre
commit
b327d72589
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      libc/misc/internals/__uClibc_main.c

+ 0 - 2
libc/misc/internals/__uClibc_main.c

@@ -96,9 +96,7 @@ static void __check_one_fd(int fd, int mode)
 		(st.st_rdev != makedev(1, 3)))
 	{
 	    /* Somebody is trying some trickery here... */
-	    while (1) {
 		abort();
-	    }
 	}
     }
 }