Project

General

Profile

Actions

Bug #11054

closed

ruby won't build on OS X 10.5 — fgetattrlist() not available

Added by PvpDJgHP (William Thomas NELSON) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin9]
[ruby-core:<unknown>]

Description

Revision 49303 added a use of the fgetattrlist() function from OS X.

The function fgetattrlist() was added in OS X 10.6 (darwin10). As a result, ruby will fail to compile on older OS X releases.


Related issues 2 (0 open2 closed)

Has duplicate Ruby master - Bug #11069: Backport r50218ClosedActions
Has duplicate Ruby master - Bug #13573: Compilation on Mac OS X 10.5.8 fails because of missing _fgetattrlistClosedActions
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

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

Applied in changeset r50218.


dir.c: getattrlist on OSX 10.5

  • dir.c (need_normalization): use getattrlist() if fgetattrlist()
    is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054]
Actions #2

Updated by usa (Usaku NAKAMURA) over 9 years ago

Actions #3

Updated by usa (Usaku NAKAMURA) over 9 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED
Actions #4

Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago

  • Backport changed from 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONE

Backported into ruby_2_2 branch at r50549.

Actions #5

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Has duplicate Bug #13573: Compilation on Mac OS X 10.5.8 fails because of missing _fgetattrlist added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0