[Top][All Lists]

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

[PATCH] generic empty __check_native implementation

From: Pino Toscano
Subject: [PATCH] generic empty __check_native implementation
Date: Thu, 26 Jul 2012 15:55:03 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )


sysdeps/posix/getaddrinfo.c calls a __check_native function to 
eventually check whether an interface uses a native transport; however, 
the only existing implementation of it is in 
sysdeps/unix/sysv/linux/check_native.c, meaning any GNU non-Linux OS 
will get an undefined reference when linking libc due to its lack.

Attached there is an empty implementation of __check_native, in the same 
place as another internal inet function (__check_pf) has its generic 
version. At least at a quick look it seems the empty implementation 
should pose no issues (the Linux one can even not change a1_native and 

Does it look good?
Pino Toscano

Attachment: generic-check_native.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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