Bosse - 2011-03-25

I was a bit to hasty. If ::open is used when -1 not 0 (zero) should be returned. Thus, invalid_file_handle_value should return -1.

From the man pages:

"open() and creat() return the new file descriptor, or -1 if an error occurred (in which case, errno is set appropriately)."