Comment 1 for bug 1252572

Revision history for this message
John A Meinel (jameinel) wrote :

This does appear to be an error reporting failure. However, we are using the OS functions provided (hopefully implemented correctly by gccgo).
We are doing an _, err = os.Open(path), and then expecting it to be os.IsNotFoundError(err) to be True.

Now on *my* machine errcode 0x6 is ENXIO which doesn't look like ENOENT to me.

Given the description here: http://www.baanboard.com/programmers_manual_baanerp_help_errors_6_ENXIO

Getting ENXIO sounds *really* strange (the device is not connected)? Is it possible that this is a failure because of how your VM is being set up?
Either that or GCCGO is mapping error codes incorrectly somehow.