Mike Karels at BSDI's changes for osync, to make output padding work