[email protected] wrote: > From: ptxdist2 <[email protected]> > > pad() wasn't always padding the output file to the correct length. On > some machines dd wasn't reading full blocks which resulted in an > incorrectly padded file. pad() now makes one call to dd to write the > input file using conv=sync to pad to the nearest 512 byte boundry. Then > dd is called again if additional 512 byte '\0' blocks are needed to meet > the padding size. > > Signed-off-by: George McCollister <[email protected]> > Tested-by: George McCollister <[email protected]>
tnx for debugging the problem, applied to master cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
