Project

General

Profile

Actions

Feature #5974

closed

Access PC_NAME_MAX and PC_PATH_MAX values

Added by tenderlovemaking (Aaron Patterson) about 12 years ago. Updated about 12 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:42374]

Description

Hi,

In order to construct file names that don't raise Errno::ENAMETOOLONG, I'd like to be able to access PC_NAME_MAX and PC_PATH_MAX from pathconf given a particular directory object.

I've attached a patch which exposes both of these values on a Dir object.


Files

max_path.patch (2.49 KB) max_path.patch tenderlovemaking (Aaron Patterson), 02/07/2012 04:16 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0