[oe] [STABLE][PATCH] recipes/unifdef/files/unifdef.c : more modern glibc expose getline from

Philip Balister philip at balister.org
Thu May 7 12:20:41 UTC 2009


Acked-by; Philip Balister <philip at balister.org>

Thanks to Graeme for taking the time to explain this. This is needed to 
use OE on machines with a recent glibc.

Philip

Koen Kooi wrote:
> ping
> 
> On 28-04-09 16:36, Koen Kooi wrote:
>> From: Graeme Gregory<dp at xora.org.uk>
>>
>>
>> Signed-off-by: Koen Kooi<koen at openembedded.org>
>> ---
>>   recipes/unifdef/files/unifdef.c |    6 +++---
>>   1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/unifdef/files/unifdef.c 
>> b/recipes/unifdef/files/unifdef.c
>> index 552025e..977e682 100644
>> --- a/recipes/unifdef/files/unifdef.c
>> +++ b/recipes/unifdef/files/unifdef.c
>> @@ -206,7 +206,7 @@ static void             done(void);
>>   static void             error(const char *);
>>   static int              findsym(const char *);
>>   static void             flushline(bool);
>> -static Linetype         getline(void);
>> +static Linetype         parseline(void);
>>   static Linetype         ifeval(const char **);
>>   static void             ignoreoff(void);
>>   static void             ignoreon(void);
>> @@ -512,7 +512,7 @@ process(void)
>>
>>       for (;;) {
>>           linenum++;
>> -        lineval = getline();
>> +        lineval = parseline();
>>           trans_table[ifstate[depth]][lineval]();
>>           debug("process %s ->  %s depth %d",
>>               linetype_name[lineval],
>> @@ -526,7 +526,7 @@ process(void)
>>    * help from skipcomment().
>>    */
>>   static Linetype
>> -getline(void)
>> +parseline(void)
>>   {
>>       const char *cp;
>>       int cursym;
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090507/776efedd/attachment-0002.bin>


More information about the Openembedded-devel mailing list