Subject: re: coupla' client issues

From: Joel King <[email-masked]>
Date: Fri, 29 Oct 1993 02:42:27 -0600

On Thu, 28 Oct 1993 15:05:34 -0600 Mark Crispin wrote:

> 
> > 	- There were some other problems we encountered with
> > 	 the dawz driver - mainly du to the fact that we may
> > 	 have an open local folder (DAWZ) and drag messages
> > 	 to it. Since DAWZLOCAL keeps an open file handle to
> > 	 the folder, we had to close and re-open the
> > 	 file anytime messages were added/expunged and
> > 	 "dawz_ping()' resulted in a "dawz_parse()". Other
> > 	 problems we had were some strange read/write
> > 	 problems which we haven't yet figured out.
> 
> In other words, you're saying that if you append to an open file 
through
> another file handle, you may get this kind of bad behavior?  This 
sounds like
> a bug/misfeature in DOS. 

What else can we expect from DOS.

 I wonder if dawz can help by detecting a stream
> argument in dawz_append() (right now it's only used to pass back a 
value to
> mm_critical()) and seeing if it references the same file as the open 
stream.
> If so, it could then use that file handle.
> 

I thought of this very thing but the new dawz_append() would still 
need to handle the case where the stream is NULL (of course).

Currently the calling program checks if there is a currently open 
stream with this mailbox name and pass that stream to *_append() so 
this would work.

Joel King       ISA Corporation, Edmonton.
Internet:       [email-masked]