[PATCH] gnulib: import getline

Simon Marchi simon.marchi@polymtl.ca
Sun May 2 00:49:13 GMT 2021


On 2021-05-01 8:46 p.m., Mike Frysinger wrote:
> On 01 May 2021 20:39, Simon Marchi wrote:
>> On 2021-05-01 6:09 p.m., Mike Frysinger via Gdb-patches wrote:
>>> We use getline in sim today which breaks on older systems that are
>>> compliant with the latest POSIX standard.
>>
>> I can't really parse that sentence.  Using getline doesn't work on older
>> systems, because those older systems are compliant with the latest POSIX
>> standard?  Huh?  Wouldn't being compliant with the latest POSIX standard
>> be a good thing?
> 
> sorry, meant "not compliant".  getline is in POSIX, but not all targets
> support it.  e.g. Windows (mingw) omit it.
> -mike

Ah ok, that makes more sense, thanks.  Still, please mention the
specific platform in the commit message.  I always understand better
with a concrete example.

Thanks!

Simon


More information about the Gdb-patches mailing list