Commit 9d29e96c authored by Committed by Jonas Termansen
Fix open(2) allowing opening directories invalidly and check O_TRUNC errors.
Among other things, redirecting to a directory will now display an error as it should. Also fix a bug when opening /dev/pts: O_WRITE on a directory is a POSIX violation.
Showing with 21 additions and 9 deletions