> +#ifdef HAVE_OPEN_3
> +  fd = open(real_path, O_RDONLY, conn->data->set.new_file_perms);
> +#else
> 
> What is the third parameter used for in the read-only case? Why not
simply
> pass 0 there?

The third parameter is taken in account only for file creation (O_CREAT)
or modification (O_RDWR, O_WRONLY). Therefore zero should work.
I can't test it right now. Do you want to wait until I'll get back the
VxWorks device?

Reply via email to