Closed jvoisin closed 1 year ago
Make use of diagnose_if for things like:
diagnose_if
memset
n
0
realpath
path
NULL
umask
mode & ~0777
And add tests for it.
Make use of
diagnose_if
for things like:memset
calledn
set to0
, likely indicating that arguments got inverted.realpath
withpath
set toNULL
, likely indicating that arguments got inverted.umask
withmode & ~0777
.And add tests for it.