Project

General

Profile

Bug #8051

linux_iocparm_len in io.c is ifdef __linux__, but uses glibc specifics

Added by Arvid Picciani over 3 years ago. Updated over 3 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
[ruby-core:53229]

Description

_IOC_SIZE is glibc specific, thus compilation fails with musl libc.

Associated revisions

Revision 39818
Added by Motohiro KOSAKI over 3 years ago

  • io.c (linux_iocparm_len): enable only exist _IOC_SIZE(). Because musl libc doesn't have it. [Bug #8051]

Revision 39818
Added by Motohiro KOSAKI over 3 years ago

  • io.c (linux_iocparm_len): enable only exist _IOC_SIZE(). Because musl libc doesn't have it. [Bug #8051]

Revision 39818
Added by Motohiro KOSAKI over 3 years ago

  • io.c (linux_iocparm_len): enable only exist _IOC_SIZE(). Because musl libc doesn't have it. [Bug #8051]

History

#1 [ruby-core:53516] Updated by Motohiro KOSAKI over 3 years ago

  • Status changed from Open to Third Party's Issue

_IOC_SIZE is not glibc feature. It's a Linux feature. Please use Linux aware libc.

Also available in: Atom PDF