fix: using file descriptors instead of FILE*

we can directly write to a socket using dprintf, no need for a buffer
This commit is contained in:
2024-01-20 17:53:36 +01:00
parent b4560bd748
commit 8880fae4aa
11 changed files with 75 additions and 97 deletions

View File

@@ -8,5 +8,5 @@ int main(int argc, char **argv) {
fprintf(stderr, "Usage : %s filename\n", argv[0]);
return 1;
}
return pasm_run_script(argv[1], 0, 0, stderr);
return pasm_run_script(argv[1], 0, 0, 1);
}