IT WAS FUCKING C LOCALE BULLSHIT I KNEW IT I KNEW IT I KNEW IT I KNEW IT I KNEW IT AAAAAAAAAAAAAAAAAAAAAAAA
THE C STANDARD LIBRARY HAS AND CONTINUES TO BE A DISASTER FOR THE HUMAN RACE
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more


![A screenshot of a post (https://suya.place/objects/44db7e67-962c-426d-b20c-3f1a1c676fc3) containing the text:
```cpp
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main( void )
{
char src[] = {
#embed __FILE__
}, *argv[] = { "./out", NULL };
FILE *fd = fopen("src.c", "w+");
fwrite(src, sizeof(src), 1, fd);
fclose(fd);
system("${CC} src.c -o out");
return execv(argv[0], argv);
}
```
So that's a program that unpacks itself, runs compiler, executes the binary, unpacks itself, runs compiler, executes the binary, unpacks itself, runs compiler, executes the binary, unpacks itself, runs compiler, executes the binary, unpacks itself, runs compiler, executes the binary, unpacks itself, runs compiler, executes the binary...
thanks @thephd](https://pbs.twimg.com/media/F7Oksm3WQAA2x-b.png)





