Project

General

Profile

Actions

Bug #5516

closed

fill_standard_fds uses F_GETFD which is not defined on MinGW (broken build)

Added by luislavena (Luis Lavena) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:40526]

Description

Hello,

New fill_standard_fds broke build under MinGW:

compiling ../../../../ruby/ruby.c
../../../../ruby/ruby.c: In function 'fill_standard_fds':
../../../../ruby/ruby.c:1822:19: error: 'F_GETFD' undeclared (first use in this function)
../../../../ruby/ruby.c:1822:19: note: each undeclared identifier is reported only once for each function it appears in
make: *** [ruby.o] Error 1

Similar to #5470

Actions #1

Updated by akr (Akira Tanaka) about 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33573.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD)
    for MinGW. reported by Luis Lavena. [ruby-core:40526] [Bug #5516]
Actions

Also available in: Atom PDF

Like0
Like0