{"action":"created","issue":{"url":"https://api.github.com/repos/gregorio-project/gregorio/issues/701","labels_url":"https://api.github.com/repos/gregorio-project/gregorio/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/gregorio-project/gregorio/issues/701/comments","events_url":"https://api.github.com/repos/gregorio-project/gregorio/issues/701/events","html_url":"https://github.com/gregorio-project/gregorio/pull/701","id":121155236,"number":701,"title":"Eliminated dependency on PATH_MAX.","user":{"login":"henryso","id":421318,"avatar_url":"https://avatars.githubusercontent.com/u/421318?v=3","gravatar_id":"","url":"https://api.github.com/users/henryso","html_url":"https://github.com/henryso","followers_url":"https://api.github.com/users/henryso/followers","following_url":"https://api.github.com/users/henryso/following{/other_user}","gists_url":"https://api.github.com/users/henryso/gists{/gist_id}","starred_url":"https://api.github.com/users/henryso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryso/subscriptions","organizations_url":"https://api.github.com/users/henryso/orgs","repos_url":"https://api.github.com/users/henryso/repos","events_url":"https://api.github.com/users/henryso/events{/privacy}","received_events_url":"https://api.github.com/users/henryso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gregorio-project/gregorio/labels/C","name":"C","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gregorio-project/gregorio/milestones/3","html_url":"https://github.com/gregorio-project/gregorio/milestones/4.0","labels_url":"https://api.github.com/repos/gregorio-project/gregorio/milestones/3/labels","id":1098172,"number":3,"title":"4.0","description":"Features to come in 4.0 version.","creator":{"login":"eroux","id":60868,"avatar_url":"https://avatars.githubusercontent.com/u/60868?v=3","gravatar_id":"","url":"https://api.github.com/users/eroux","html_url":"https://github.com/eroux","followers_url":"https://api.github.com/users/eroux/followers","following_url":"https://api.github.com/users/eroux/following{/other_user}","gists_url":"https://api.github.com/users/eroux/gists{/gist_id}","starred_url":"https://api.github.com/users/eroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroux/subscriptions","organizations_url":"https://api.github.com/users/eroux/orgs","repos_url":"https://api.github.com/users/eroux/repos","events_url":"https://api.github.com/users/eroux/events{/privacy}","received_events_url":"https://api.github.com/users/eroux/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":87,"state":"open","created_at":"2015-05-06T07:45:16Z","updated_at":"2015-12-09T04:11:30Z","due_on":"2015-06-13T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-12-09T04:06:27Z","updated_at":"2015-12-09T18:52:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gregorio-project/gregorio/pulls/701","html_url":"https://github.com/gregorio-project/gregorio/pull/701","diff_url":"https://github.com/gregorio-project/gregorio/pull/701.diff","patch_url":"https://github.com/gregorio-project/gregorio/pull/701.patch"},"body":"For #697.\r\n\r\nThis is implemented according to @jakubjelinek's suggestion in #696 (growing buffers).\r\n\r\nThere is still a dependency on _MAX_PATH, because something needs to be passed for the *maxLength* argument for the Win32 **_fullpath** call.\r\n\r\nHowever, quoting https://msdn.microsoft.com/en-us/library/506720ff(v=vs.100).aspx:\r\n\r\nIf the *absPath* buffer is **NULL**, **_fullpath** calls **malloc** to allocate a buffer and ignores the *maxLength* argument.  (All our usages of this will pass **NULL** as *absPath*)\r\n\r\nNote: I re-created the release-4.0 branch from the v4.0.0 tag to be used for 4.0.x releases.\r\n\r\nAll tests pass.  Valgrind detects no leaks against gabc-gtex and gabc-dump tests (gabc-gabc tests don't exist in 4.0), and everything allocated is freed at the end.  Please review and merge if satisfactory."},"comment":{"url":"https://api.github.com/repos/gregorio-project/gregorio/issues/comments/163355760","html_url":"https://github.com/gregorio-project/gregorio/pull/701#issuecomment-163355760","issue_url":"https://api.github.com/repos/gregorio-project/gregorio/issues/701","id":163355760,"user":{"login":"henryso","id":421318,"avatar_url":"https://avatars.githubusercontent.com/u/421318?v=3","gravatar_id":"","url":"https://api.github.com/users/henryso","html_url":"https://github.com/henryso","followers_url":"https://api.github.com/users/henryso/followers","following_url":"https://api.github.com/users/henryso/following{/other_user}","gists_url":"https://api.github.com/users/henryso/gists{/gist_id}","starred_url":"https://api.github.com/users/henryso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryso/subscriptions","organizations_url":"https://api.github.com/users/henryso/orgs","repos_url":"https://api.github.com/users/henryso/repos","events_url":"https://api.github.com/users/henryso/events{/privacy}","received_events_url":"https://api.github.com/users/henryso/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T18:52:03Z","updated_at":"2015-12-09T18:52:03Z","body":"Practically speaking, do we really need to deal with path names that are larger than 32kb?"}}