Project

General

Profile

Bug #8051

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

Added by aep (Arvid Picciani) over 4 years ago. Updated over 4 years ago.

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

Description

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

Associated revisions

Revision 39818
Added by kosaki (Motohiro KOSAKI) over 4 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 kosaki (Motohiro KOSAKI) over 4 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 kosaki (Motohiro KOSAKI) over 4 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 kosaki (Motohiro KOSAKI) over 4 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 kosaki (Motohiro KOSAKI) over 4 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