[PATCH] windres: quote the angled brackets to avoid confusing shell

Alan Modra amodra@gmail.com
Sat Jan 24 03:34:57 GMT 2026


On Fri, Jan 23, 2026 at 03:35:18AM +0500, Alibek Omarov wrote:
> --- a/binutils/windres.c
> +++ b/binutils/windres.c
> @@ -692,7 +692,7 @@ quot (const char *string)
>  
>    for (src = string, dest = buf; *src; src++, dest++)
>      {
> -      if (*src == '(' || *src == ')' || *src == ' ')
> +      if (*src == '(' || *src == ')' || *src == ' ' || *src == '<' || *src == '>')
>  	*dest++ = '\\';
>        *dest = *src;
>      }

Thanks, applied.

-- 
Alan Modra


More information about the Binutils mailing list