{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4002","labels_url":"https://api.github.com/repos/nodejs/node/issues/4002/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4002/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4002/events","html_url":"https://github.com/nodejs/node/issues/4002","id":118584564,"number":4002,"title":"Windows: fs.readdir() includes \".\" and \"..\" when running over Sharepoint connection","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/fs","name":"fs","color":"0052cc"},{"url":"https://api.github.com/repos/nodejs/node/labels/windows","name":"windows","color":"9944dd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-24T11:12:19Z","updated_at":"2015-11-24T16:50:45Z","closed_at":null,"body":"I see this in Electron 0.34.1 which is using node.js 4.1.1. I have mapped a Sharepoint connection as a drive on Windows 10 and notice that fs.readdir() includes \".\" and \"..\". I have never seen this in any other OS or environment. I dont think \".\" and \"..\" should be included in the call."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/159334762","html_url":"https://github.com/nodejs/node/issues/4002#issuecomment-159334762","issue_url":"https://api.github.com/repos/nodejs/node/issues/4002","id":159334762,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T16:50:45Z","updated_at":"2015-11-24T16:50:45Z","body":"@bnoordhuis anything special I have to do to see the output from printf() in my compiled node.exe?"}}