{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/535","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/535/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/535/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/535","id":160456341,"number":535,"title":"create file should fail when the file name has trailing slash","user":{"login":"mzzzoozz","id":19944008,"avatar_url":"https://avatars.githubusercontent.com/u/19944008?v=3","gravatar_id":"","url":"https://api.github.com/users/mzzzoozz","html_url":"https://github.com/mzzzoozz","followers_url":"https://api.github.com/users/mzzzoozz/followers","following_url":"https://api.github.com/users/mzzzoozz/following{/other_user}","gists_url":"https://api.github.com/users/mzzzoozz/gists{/gist_id}","starred_url":"https://api.github.com/users/mzzzoozz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzzzoozz/subscriptions","organizations_url":"https://api.github.com/users/mzzzoozz/orgs","repos_url":"https://api.github.com/users/mzzzoozz/repos","events_url":"https://api.github.com/users/mzzzoozz/events{/privacy}","received_events_url":"https://api.github.com/users/mzzzoozz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/labels/fixinbound","name":"fixinbound","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T15:46:26Z","updated_at":"2016-06-15T19:59:44Z","closed_at":null,"body":"On linux, create file should fail when the file name has trailing slash.\r\nBut on WSL, it doesn't\r\n\r\nExample:\r\n\r\n#include \\<stdio.h\\>\r\n#include \\<sys/types.h\\>\r\n#include \\<fcntl.h\\>\r\n#include \\<sys/stat.h\\>\r\n\r\nint main()\r\n{\r\n\tint rtn = open(\"./tttt/\", O_CREAT | O_TRUNC, 0644);\r\n\tprintf(\"create rtn %d\\n\", rtn);\r\n\treturn 0;\r\n}"},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/226302431","html_url":"https://github.com/Microsoft/BashOnWindows/issues/535#issuecomment-226302431","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/535","id":226302431,"user":{"login":"benhillis","id":17727402,"avatar_url":"https://avatars.githubusercontent.com/u/17727402?v=3","gravatar_id":"","url":"https://api.github.com/users/benhillis","html_url":"https://github.com/benhillis","followers_url":"https://api.github.com/users/benhillis/followers","following_url":"https://api.github.com/users/benhillis/following{/other_user}","gists_url":"https://api.github.com/users/benhillis/gists{/gist_id}","starred_url":"https://api.github.com/users/benhillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhillis/subscriptions","organizations_url":"https://api.github.com/users/benhillis/orgs","repos_url":"https://api.github.com/users/benhillis/repos","events_url":"https://api.github.com/users/benhillis/events{/privacy}","received_events_url":"https://api.github.com/users/benhillis/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T19:59:44Z","updated_at":"2016-06-15T19:59:44Z","body":"@aseering I believe that you are right.  I just tried the repro in #432 and verified that I was able to run the configure script and run make afterwards without errors.  I will update the status of that thread as well."}}
{"actor":{"display_login":"benhillis"}}