Browse Source

return to DJB behavior...

on success return 1.
master
Olaf Dreesen 15 years ago
parent
commit
59e251509b
  1. 2
      open/openreadclose.c

2
open/openreadclose.c

@ -12,5 +12,5 @@ int openreadclose(const char *fn,stralloc *sa,size_t bufsize)
return -1;
}
if (readclose(fd,sa,bufsize) == -1) return -1;
return 0;
return 1;
}

Loading…
Cancel
Save