• J
    portability to non-glibc: don't use realpath(..., NULL) · b74aadb3
    Jim Meyering 提交于
    it causes a NULL-dereference on some systems like Solaris 10.
    * src/node_device/node_device_linux_sysfs.c. Include <stdlib.h>.
    (get_sriov_function): Use canonicalize_file_name, not realpath.
    * bootstrap (modules): Add canonicalize-lgpl.
    b74aadb3
node_device_linux_sysfs.c 9.6 KB