{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/6873","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/6873/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/6873/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/6873/events","html_url":"https://github.com/dotnet/corefx/pull/6873","id":140792333,"number":6873,"title":"Fixing bug #6866 that caused a truncation in the OS X FileSystemWatcher","user":{"login":"sokket","id":1761798,"avatar_url":"https://avatars.githubusercontent.com/u/1761798?v=3","gravatar_id":"","url":"https://api.github.com/users/sokket","html_url":"https://github.com/sokket","followers_url":"https://api.github.com/users/sokket/followers","following_url":"https://api.github.com/users/sokket/following{/other_user}","gists_url":"https://api.github.com/users/sokket/gists{/gist_id}","starred_url":"https://api.github.com/users/sokket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokket/subscriptions","organizations_url":"https://api.github.com/users/sokket/orgs","repos_url":"https://api.github.com/users/sokket/repos","events_url":"https://api.github.com/users/sokket/events{/privacy}","received_events_url":"https://api.github.com/users/sokket/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/2%20-%20In%20Progress","name":"2 - In Progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T20:42:39Z","updated_at":"2016-03-14T23:27:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/6873","html_url":"https://github.com/dotnet/corefx/pull/6873","diff_url":"https://github.com/dotnet/corefx/pull/6873.diff","patch_url":"https://github.com/dotnet/corefx/pull/6873.patch"},"body":"The underlying issue was that the code to get the relative path name in a rename pair was going 1 character too far in the case that the root directory already contained a trailing slash. This was caused by the fact that if the root directory does not contain a trailing slash (which our tests do not) then OS X adds one to the paths. This change makes sure that when this situations arises, we do not go the extra character. I also added a test to validate it but it won't come online until #2684 is fixed to validate paths, not just the right events.\r\n\r\n@stephentoub \r\n\r\nfyi @ jrieken "},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/196564456","html_url":"https://github.com/dotnet/corefx/pull/6873#issuecomment-196564456","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/6873","id":196564456,"user":{"login":"sokket","id":1761798,"avatar_url":"https://avatars.githubusercontent.com/u/1761798?v=3","gravatar_id":"","url":"https://api.github.com/users/sokket","html_url":"https://github.com/sokket","followers_url":"https://api.github.com/users/sokket/followers","following_url":"https://api.github.com/users/sokket/following{/other_user}","gists_url":"https://api.github.com/users/sokket/gists{/gist_id}","starred_url":"https://api.github.com/users/sokket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokket/subscriptions","organizations_url":"https://api.github.com/users/sokket/orgs","repos_url":"https://api.github.com/users/sokket/repos","events_url":"https://api.github.com/users/sokket/events{/privacy}","received_events_url":"https://api.github.com/users/sokket/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T23:27:45Z","updated_at":"2016-03-14T23:27:45Z","body":"Any other feedback? "}}