This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 behaviour in echo


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


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