[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Starting the final call for features for 1.7

From: Ralph Corderoy
Subject: Re: [Nmh-workers] Starting the final call for features for 1.7
Date: Wed, 28 Sep 2016 17:16:41 +0100

Hi Oliver,

> Could we perhaps include a configure test and a fallback
> implementation such as the one below

I realise it's probably just the first one that came to hand, but it
whiffs a bit, and

>         if (buf) {
>             buf[len] = '\0';
>         }

I think that buf may only be len long on occasion when the NUL is added.
Oh, linebuf and linelen.  I renamed them for readability because all the
line* identifiers were silly when that's the central topic.

Given it's a common requirement, there's probably other getline-fallback
implementations, even given the licence requirements.

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]