working -w

This commit is contained in:
elvis
2022-04-29 22:31:08 +02:00
parent 59ac9663c9
commit 6bf73e8d18
3 changed files with 31 additions and 24 deletions

View File

@ -541,6 +541,7 @@ int writeFile(const char* pathname, const char* dirname) {
size_t lung = 0;
size_t incr = 0;
size_t size = 0;
if ((fdi = open(pathname, O_RDONLY)) == -1) {
perror("open");
return -1;