[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    /libbb/xreadlink.c uclibc check
From:       Alfonso Ranieri <alforan () tin ! it>
Date:       2014-05-21 16:37:13
Message-ID: 537CD639.70606 () tin ! it
[Download RAW message or body]

it seems uclibc at least 0.9.28 I am using define __GLIBC__ so that the 
check in  xmalloc_realpath
#if defined(__GLIBC__) || \
     (defined(__UCLIBC__) && UCLIBC_VERSION >= KERNEL_VERSION(0, 9, 31))

is always true on uclibc; it should be changed to something like
#if ((defined(__UCLIBC__) && UCLIBC_VERSION >= KERNEL_VERSION(0, 9, 31)) 
|| \
      (defined(__GLIBC__) && !defined(__UCLIBC__)))

thanks.

-- alfie
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic