raaahhhhhh

This commit is contained in:
Scarlett
2025-05-02 12:47:22 -04:00
parent 41280fe622
commit 856e443181
5 changed files with 16 additions and 4 deletions

View File

@ -192,7 +192,7 @@ int new_file(char *arg, char *alpha) {
mkdir("./out", 0777);
char *new_basename = calloc(strlen(basename) + 5, sizeof(char));
char *new_basename = calloc(strlen(basename) + 7, sizeof(char));
strcpy(new_basename, "./out/");
strcat(new_basename, basename);
basename = new_basename;