[PATCH] Make copy of <bits/std_abs.h> from GCC 7 [BZ #21573]

H.J. Lu hjl.tools@gmail.com
Tue Jun 13 11:54:00 GMT 2017


On Tue, Jun 13, 2017 at 4:46 AM, Andreas Schwab <schwab@suse.de> wrote:
> On Jun 13 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>
>> The first / in "/$1:/{s/:\$//;p}" is a command:
>
> It's not a command, it's an address.
>
>> [hjl@gnu-tools-1 glibc-test]$ echo "#include <bits/std_abs.h>" |
>> /usr/gcc-7.1.1-x32/bin/c++ -M -MP -x c++ - | sed -n
>> ",/bits/std_abs.h:,{s/:\$//;p}"
>> sed: -e expression #1, char 1: unknown command: `,'
>>
>> What options do I have?
>
> \,$1,

Here is the updated patch.  OK for master?

Thanks.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-copy-of-bits-std_abs.h-from-GCC-7-BZ-21573.patch
Type: text/x-patch
Size: 2154 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170613/6cd93d01/attachment.bin>


More information about the Libc-alpha mailing list