Download patch
ref: 6fb85848001386a1acf2bc47605b797ce21c48a7 parent: 7211f00b30cf898c5888135ad79acd4886af025f author: Russ Cox <rsc@swtch.com> date: Sun Jan 2 13:33:44 EST 2011
cleanup suggested by Geoff Collyer