diff options
author | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-01-16 14:41:11 +0000 |
---|---|---|
committer | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-01-16 14:41:11 +0000 |
commit | 3e494442de5eff6d0619c793eef139c15efe0657 (patch) | |
tree | cb3dac56d69033ea14d7917d5511bf0cc052ca44 /source3 | |
parent | 735e98759c0f860727c24c4cdb14235abdeb8879 (diff) | |
download | samba-3e494442de5eff6d0619c793eef139c15efe0657.tar.gz samba-3e494442de5eff6d0619c793eef139c15efe0657.tar.bz2 samba-3e494442de5eff6d0619c793eef139c15efe0657.zip |
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
(This used to be commit 9d75ea577b407ccab59196760d376831062a3ab5)
Diffstat (limited to 'source3')
0 files changed, 0 insertions, 0 deletions