{"action":"created","issue":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/3149","labels_url":"https://api.github.com/repos/rubinius/rubinius/issues/3149/labels{/name}","comments_url":"https://api.github.com/repos/rubinius/rubinius/issues/3149/comments","events_url":"https://api.github.com/repos/rubinius/rubinius/issues/3149/events","html_url":"https://github.com/rubinius/rubinius/issues/3149","id":44604653,"number":3149,"title":"Dir.glob over-matching","user":{"login":"johnmuhl","id":7944,"avatar_url":"https://avatars.githubusercontent.com/u/7944?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmuhl","html_url":"https://github.com/johnmuhl","followers_url":"https://api.github.com/users/johnmuhl/followers","following_url":"https://api.github.com/users/johnmuhl/following{/other_user}","gists_url":"https://api.github.com/users/johnmuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmuhl/subscriptions","organizations_url":"https://api.github.com/users/johnmuhl/orgs","repos_url":"https://api.github.com/users/johnmuhl/repos","events_url":"https://api.github.com/users/johnmuhl/events{/privacy}","received_events_url":"https://api.github.com/users/johnmuhl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubinius/rubinius/labels/OS%20X","name":"OS X","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-01T19:22:56Z","updated_at":"2015-01-23T23:34:13Z","closed_at":null,"body":"~~~ sh\r\ntouch abc äbc\r\nruby -e 'p Dir.glob(\"a*\").size'\r\n~~~\r\n\r\nMRI and JRuby return 1 but Rubinius returns 2."},"comment":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/comments/71285090","html_url":"https://github.com/rubinius/rubinius/issues/3149#issuecomment-71285090","issue_url":"https://api.github.com/repos/rubinius/rubinius/issues/3149","id":71285090,"user":{"login":"aidansteele","id":369053,"avatar_url":"https://avatars.githubusercontent.com/u/369053?v=3","gravatar_id":"","url":"https://api.github.com/users/aidansteele","html_url":"https://github.com/aidansteele","followers_url":"https://api.github.com/users/aidansteele/followers","following_url":"https://api.github.com/users/aidansteele/following{/other_user}","gists_url":"https://api.github.com/users/aidansteele/gists{/gist_id}","starred_url":"https://api.github.com/users/aidansteele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidansteele/subscriptions","organizations_url":"https://api.github.com/users/aidansteele/orgs","repos_url":"https://api.github.com/users/aidansteele/repos","events_url":"https://api.github.com/users/aidansteele/events{/privacy}","received_events_url":"https://api.github.com/users/aidansteele/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T23:34:13Z","updated_at":"2015-01-23T23:34:13Z","body":"Some more background information:\r\n\r\nrbx-2.4.1:\r\n* `ruby -e 'p Dir.glob(\"A*\").size'` => `0` (case-sensitive partition)\r\n* `ruby -e 'p Dir.glob(\"A*\").size'` => `0` (default)\r\n\r\nmri-2.2.0:\r\n* `ruby -e 'p Dir.glob(\"A*\").size'` => `0` (case-sensitive partition)\r\n* `ruby -e 'p Dir.glob(\"A*\").size'` => `1` (default)\r\n\r\nIt appears that MRI is sensitive to case (but not diacritics) on sensitive HFS+."}}