From: Aaron Patterson Date: 2012-02-07T04:16:23+09:00 Subject: [ruby-core:42374] [ruby-trunk - Feature #5974][Open] Access PC_NAME_MAX and PC_PATH_MAX values Issue #5974 has been reported by Aaron Patterson. ---------------------------------------- Feature #5974: Access PC_NAME_MAX and PC_PATH_MAX values https://bugs.ruby-lang.org/issues/5974 Author: Aaron Patterson Status: Open Priority: Normal Assignee: Category: Target version: 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. -- http://bugs.ruby-lang.org/