[U-Boot] [PATCH] Ignore all Carriage Returns when importing an environment.

Alexander Holler holler at ahsoftware.de
Sun May 13 10:07:07 CEST 2012


Hello,

Am 12.05.2012 23:18, schrieb Wolfgang Denk:

> Thanks - but it adds restrictions to doing perfectly valid things.  I
> see the disadvantages significantly bigger than what we can win - keep
> in mind, that dealing wqith DOS line endings is a topic that is
> decades old.

Not dealing with them too. ;)

Two other solutions come to mind: Expanding the if( '\r' ) so that it 
only removes CRs if they are before LF or make \r possible in import and 
use \r in export.

Regards,

Alexander


More information about the U-Boot mailing list