| marsou 2004-09-28, 4:13 am |
| Thank you for your reply,
> Does Windows even guarantee that _open ... and _dup will return the lowest >available "handle" ... value? I don't see any such
> guarantee in the Windows documentation....
I really don't need the value to be the lowest. The only thing that I
need is that I could use the descriptor returned to me by fopen to
write into that file. And apparently I couldn't do that inside the
apache sources. When I tried it returned me -1 with errno = EBADF
>
> - Handle 5 was closed prior to the fopen call in Apache. You say
> you didn't close it, but are you completely sure that nothing else
> did?
I can say that nothing closed my file because after the apache codes
in my logger function I could normally write to file using the same
handle
regarding the 2 different librarys issue - I then tried to use only
_open(you are right I just accidentally didn't copy the underscore)
but the result is the same

|