This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libjava: avoid using escape sequence with undefined behaviourin echo


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]