[patch] libjava: avoid using escape sequence with undefined behaviour in echo

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Sun Sep 18 11:16:00 GMT 2005


Matthias Klose wrote:

>When using ash as system and config shell, the bootstrap fails in libjava,
>because a wrong Makefile.deps is generated. echo '\1\2' in ash just
>echoes ^A^B. ash claims that these escape sequences elicit undefined
>behaviour.
>
>This rule was introduced in the 4.0 branch after 4.0.1, before that
>change libjava used to build using ash, proposing this change for the
>4.0 branch as well.
>
>Ok to checkin?
>  
>
I don't oppose such a patch, but still, ash is completely not POSIX and 
this single noncompliancy will break a good percentage of sed scripts.

Paolo



More information about the Java-patches mailing list