This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] libjava: avoid using escape sequence with undefined behaviour in echo
- From: Andreas Schwab <schwab at suse dot de>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>,Matthias Klose <doko at cs dot tu-berlin dot de>, gcc-patches at gcc dot gnu dot org,java-patches at gcc dot gnu dot org
- Date: Sun, 18 Sep 2005 21:07:06 +0200
- Subject: Re: [patch] libjava: avoid using escape sequence with undefined behaviour in echo
- References: <17197.4463.990163.590748@gargle.gargle.HOWL><432D4C72.7010202@lu.unisi.ch> <432D9C44.5030807@codesourcery.com>
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."