do not assume that successful open() sets errno to 0
do not assume that successful open() sets errno to 0

edwardcrichton/BToolkit,edwardcrichton/BToolkit,edwardcrichton/BToolkit,edwardcrichton/BToolkit,edwardcrichton/BToolkit