Mail Archives: djgpp/1997/03/08/18:01:20
James McCann wrote:
>
> The attached program shows behavior I did not expect. It installs
> a handler for file descriptors returned by __FSEXT_allocate_fd and
> installs the handler w/ FSEXT_set_function. When the write function
> is called, the handler is called only for the first write. Read and
> close work as expected, and if the write() calls are replaced w/ calls
> to _write(), the handler is called as expected. I am using the libc.a
> from djdev201.zip dated 10/31/96.
>
> Is this a bug, or am I doing something wrong?
Might be a bug (dunno). When I was browsing the source code to libc to
check out the limitiations of FSX, I found a few problems, one of which
was write() wouldn't work properly with binary(or text?) files. There
where a few other instances where I though the fsx routines should have
been called but weren't.
I'll dig out my notes again sometime soon and post a format bug report
(maybe even a fiz).
Bill
--
Leave others their otherness.
- Raw text -