this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

There's no need to close an invalid FILE*

Android doesn't have /proc/modules, and darling segfaults instead of
reporting errors elegantly. On BioniC, fclose(NULL) leads to SIGSEGV.

https://android.googlesource.com/platform/bionic/+/a8f9c8069ec45117393bc3abca3379cf62b1124e/libc/stdio/stdio.cpp#374

-1
-1
src/startup/darling.c
··· 893 893 if ((fp = fopen("/proc/modules", "r")) == NULL) 894 894 { 895 895 fprintf(stderr, "Failure opening /proc/modules: %s\n", strerror(errno)); 896 - fclose(fp); 897 896 return 0; 898 897 } 899 898