From: Aaron Patterson Date: 2012-02-07T06:27:32+09:00 Subject: [ruby-core:42380] [ruby-trunk - Feature #5974][Rejected] Access PC_NAME_MAX and PC_PATH_MAX values Issue #5974 has been updated by Aaron Patterson. Status changed from Open to Rejected Ugh. I didn't know that is the behavior on linux. I agree this would cause confusion, so I will just close it. Thanks for reading! ---------------------------------------- Feature #5974: Access PC_NAME_MAX and PC_PATH_MAX values https://bugs.ruby-lang.org/issues/5974 Author: Aaron Patterson Status: Rejected 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/