On Wed, Jan 16, 2008 at 08:44:00AM -0600, Derrell Lipman wrote: > The branch, v3-2-test has been updated > via aebecd7462733b56457540423354ba249fd52808 (commit) > via 9d75ea577b407ccab59196760d376831062a3ab5 (commit) > via 296a6783fbc03460e87ac4136a0a9e6d2743b2ff (commit) > via 01f6a4cca7a91ae41ff393263418216324502f84 (commit) > from 4db26c803de52d3efccc940efc55f14131a057f5 (commit) > > http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test > > > - Log ----------------------------------------------------------------- > commit aebecd7462733b56457540423354ba249fd52808 > Merge: 9d75ea577b407ccab59196760d376831062a3ab5 > 4db26c803de52d3efccc940efc55f14131a057f5 > Author: Derrell Lipman <[EMAIL PROTECTED]> > Date: Wed Jan 16 14:41:43 2008 +0000 > > Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test > > commit 9d75ea577b407ccab59196760d376831062a3ab5 > Author: Derrell Lipman <[EMAIL PROTECTED]> > Date: Wed Jan 16 14:41:11 2008 +0000 > > Modify testread example to loop using same context. > > There's been a problem seen where open/read/close a number of times causes > open failures eventually. This program has been modified to create the > context once and then loop requesting file names to open/read/close. > > This program also demonstrates the current error in cli_read() where it > returns an error instead of length 0 upon end of file.
Derrell - I'm not reproducing this. Testing here locally with testread in examples/libsmbclient cli_read returns 0, with errno = 0 on EOF. Please describe you test setup more fully. Thanks, Jeremy.
