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

Matthias Klose doko@cs.tu-berlin.de
Mon Sep 19 16:08:00 GMT 2005


Andreas Schwab writes:
> Mark Mitchell <mark@codesourcery.com> writes:
> 
> > I do think requiring a POSIX-compliant shell is reasonable.
> 
> POSIX compliance wouldn't help much here, since it makes the issue
> implementation-defined.  A better alternative might be to use printf
> instead.

Looking at the make manual printf isn't listed under the recommended
tools you should use, therefore the workaround using sed. Anyway, I
discovered too late, that this code was removed with the last
classpath merge, so it's only an issue on the branch.

  Matthias



More information about the Java-patches mailing list