Set environment variable on remote target
Jie Zhang
jie.zhang@analog.com
Fri Jul 18 10:56:00 GMT 2008
Andreas Schwab wrote:
> Jie Zhang <jie.zhang@analog.com> writes:
>
>> So we have to use single quotes. The updated patch is attached.
>
> This will break if the value can contain single quotes.
>
How about using double quotes but escaping ", \, $, and ` using
backslash? The patch is attached.
Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dejagnu-remote-env-4.diff
Type: text/x-patch
Size: 1372 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20080718/9d5ef6ef/attachment.bin>
More information about the Gcc
mailing list