Fair enough; thanks for the feedback. Attached is a new version that doesan unconditional sync (well, unless do_sync is false, a flag I am notparticularly fond of).
Cheers,Greg