IE> Good catch! I'll promote that. I think the original intention was to IE> minimize locking, but you are correct in observing that the corner IE> case of length = 1 can lead to errors. there are (at least) two more places like this -- one few lines below, and one in memutil.