Created
August 22, 2020 10:53
-
-
Save Halo-Michael/b49f8d7ee85f5897165c65915efc25bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CoreFoundation/CoreFoundation.h> | |
#include <pthread.h> | |
void* foo(void *foo) { | |
return NULL; | |
} | |
int main(int argc, char **argv) { | |
pthread_t thread; | |
pthread_create(&thread, NULL, &foo, NULL); | |
void *t; | |
pthread_join(thread, &t); | |
execvp("ls", (char *[]){"ls", ".", NULL}); | |
perror("ls"); | |
return -1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cydia Substrate bug, fixed on 0.9.7108 or higher.