{"action":"created","comment":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/comments/46544882","id":46544882,"diff_hunk":"@@ -448,16 +448,16 @@ LibraryManager.library = {\n     }\n     return ret;  // Previous break location.\n   },\n-\n   system__deps: ['__setErrNo', '$ERRNO_CODES'],\n-  system: function(command) {\n-    // int system(const char *command);\n-    // http://pubs.opengroup.org/onlinepubs/000095399/functions/system.html\n-    // Can't call external programs.\n-    ___setErrNo(ERRNO_CODES.EAGAIN);\n-    return -1;\n+  system: function(command) ","path":"src/library.js","position":12,"original_position":12,"commit_id":"9add5272f82b84d737800e9083c65c5c7a6b5ea5","original_commit_id":"9add5272f82b84d737800e9083c65c5c7a6b5ea5","user":{"login":"claudiodaffra","id":4798613,"avatar_url":"https://avatars.githubusercontent.com/u/4798613?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiodaffra","html_url":"https://github.com/claudiodaffra","followers_url":"https://api.github.com/users/claudiodaffra/followers","following_url":"https://api.github.com/users/claudiodaffra/following{/other_user}","gists_url":"https://api.github.com/users/claudiodaffra/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodaffra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodaffra/subscriptions","organizations_url":"https://api.github.com/users/claudiodaffra/orgs","repos_url":"https://api.github.com/users/claudiodaffra/repos","events_url":"https://api.github.com/users/claudiodaffra/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodaffra/received_events","type":"User","site_admin":false},"body":" ok i can repost you a code align ,with emscripten guide lines\r\n{ in the same lines, or may you change directly code ?\r\n without other pull request ?","created_at":"2015-12-03T12:24:09Z","updated_at":"2015-12-03T12:24:09Z","html_url":"https://github.com/kripken/emscripten/pull/3948#discussion_r46544882","pull_request_url":"https://api.github.com/repos/kripken/emscripten/pulls/3948","_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/comments/46544882"},"html":{"href":"https://github.com/kripken/emscripten/pull/3948#discussion_r46544882"},"pull_request":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3948"}}},"pull_request":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/3948","id":52412090,"html_url":"https://github.com/kripken/emscripten/pull/3948","diff_url":"https://github.com/kripken/emscripten/pull/3948.diff","patch_url":"https://github.com/kripken/emscripten/pull/3948.patch","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3948","number":3948,"state":"open","locked":false,"title":"add  functions <signal.h> , getenv/system (node.js)<stdlib>","user":{"login":"claudiodaffra","id":4798613,"avatar_url":"https://avatars.githubusercontent.com/u/4798613?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiodaffra","html_url":"https://github.com/claudiodaffra","followers_url":"https://api.github.com/users/claudiodaffra/followers","following_url":"https://api.github.com/users/claudiodaffra/following{/other_user}","gists_url":"https://api.github.com/users/claudiodaffra/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodaffra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodaffra/subscriptions","organizations_url":"https://api.github.com/users/claudiodaffra/orgs","repos_url":"https://api.github.com/users/claudiodaffra/repos","events_url":"https://api.github.com/users/claudiodaffra/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodaffra/received_events","type":"User","site_admin":false},"body":"--------------------------------- \r\n# library.js , add system\r\n--------------------------------- \r\n\r\ni have updated in my branch library.js\r\nto implement : system <stdlib.h>\r\nit works on node.js\r\nusage :\r\n\r\n\tsystem ( \"dir\" ) ; \r\n\tsystem ( \"node -v\" ) ;\r\n\tsystem ( \"dir c:\\\\windows\" );\r\n\tsystem ( \"em++ node001-getenv.cpp -o main.js\" );\r\n\r\n----------------------------------------\t\r\n# emscripten.h , add  getenv\r\n-----------------------------------------\r\n\r\ni have addedd getenv command <stlib.h>,,\r\nit work on node.js\r\nusage :\r\n\r\n\t char *s = getenv ( process.env.APPDATA );\r\n\t printf ( \"\\n NODE.JS <%s> \" ,s  ) ; \r\n\t printf ( \"\\n NODE.JS <%s> \" , getenv ( process.env.HOMEDRIVE ) ) ;\r\n\t printf ( \"\\n NODE.JS <%s> \" , getenv ( process.env ) ) ; \r\n\r\n-----------------------------------------\t \r\n# emscrpiten.h, added pause \r\n------------------------------------------\r\n\r\nraise SIGSTOP and SIGCONT;\r\nusage :\r\n\tpause(1000);\r\n\r\n-------------------------------------------\r\n#emscripten.h, added MACRO\r\n------------------------------------------\r\n\r\n__SIGRTMIN\r\n__SIGRTMAX\r\n \r\nto implement other two function :\r\n\r\n__libc_current_sigrtmax\r\n__libc_current_sigrtmin\r\n\r\n----------------------------\r\n# library.signal.js\r\n---------------------------\r\n\r\naddedd :\r\n\r\nsignal , raise , pause , \r\nsigprocmask , __libc_current_sigrtmax ,\r\n__libc_current_sigrtmin\r\n\r\n----------------\r\n# example\r\n---------------\r\nadd example, for this command , in tests :\r\n\r\nnode001-getenv.cpp\r\nnode002-system.cpp\r\nsignal001-signal-raise.cpp\r\nsignal002-pause.cpp\r\nsignal003-sigprocmask.cpp\r\n\r\n\r\n","created_at":"2015-12-02T15:42:56Z","updated_at":"2015-12-03T12:24:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5481fc700e618cb9d11da7f06da32f1fd7e6948f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kripken/emscripten/pulls/3948/commits","review_comments_url":"https://api.github.com/repos/kripken/emscripten/pulls/3948/comments","review_comment_url":"https://api.github.com/repos/kripken/emscripten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3948/comments","statuses_url":"https://api.github.com/repos/kripken/emscripten/statuses/9add5272f82b84d737800e9083c65c5c7a6b5ea5","head":{"label":"claudiodaffra:master","ref":"master","sha":"9add5272f82b84d737800e9083c65c5c7a6b5ea5","user":{"login":"claudiodaffra","id":4798613,"avatar_url":"https://avatars.githubusercontent.com/u/4798613?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiodaffra","html_url":"https://github.com/claudiodaffra","followers_url":"https://api.github.com/users/claudiodaffra/followers","following_url":"https://api.github.com/users/claudiodaffra/following{/other_user}","gists_url":"https://api.github.com/users/claudiodaffra/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodaffra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodaffra/subscriptions","organizations_url":"https://api.github.com/users/claudiodaffra/orgs","repos_url":"https://api.github.com/users/claudiodaffra/repos","events_url":"https://api.github.com/users/claudiodaffra/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodaffra/received_events","type":"User","site_admin":false},"repo":{"id":46808124,"name":"emscripten","full_name":"claudiodaffra/emscripten","owner":{"login":"claudiodaffra","id":4798613,"avatar_url":"https://avatars.githubusercontent.com/u/4798613?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiodaffra","html_url":"https://github.com/claudiodaffra","followers_url":"https://api.github.com/users/claudiodaffra/followers","following_url":"https://api.github.com/users/claudiodaffra/following{/other_user}","gists_url":"https://api.github.com/users/claudiodaffra/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodaffra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodaffra/subscriptions","organizations_url":"https://api.github.com/users/claudiodaffra/orgs","repos_url":"https://api.github.com/users/claudiodaffra/repos","events_url":"https://api.github.com/users/claudiodaffra/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodaffra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/claudiodaffra/emscripten","description":"Emscripten: An LLVM-to-JavaScript Compiler","fork":true,"url":"https://api.github.com/repos/claudiodaffra/emscripten","forks_url":"https://api.github.com/repos/claudiodaffra/emscripten/forks","keys_url":"https://api.github.com/repos/claudiodaffra/emscripten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claudiodaffra/emscripten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claudiodaffra/emscripten/teams","hooks_url":"https://api.github.com/repos/claudiodaffra/emscripten/hooks","issue_events_url":"https://api.github.com/repos/claudiodaffra/emscripten/issues/events{/number}","events_url":"https://api.github.com/repos/claudiodaffra/emscripten/events","assignees_url":"https://api.github.com/repos/claudiodaffra/emscripten/assignees{/user}","branches_url":"https://api.github.com/repos/claudiodaffra/emscripten/branches{/branch}","tags_url":"https://api.github.com/repos/claudiodaffra/emscripten/tags","blobs_url":"https://api.github.com/repos/claudiodaffra/emscripten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claudiodaffra/emscripten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claudiodaffra/emscripten/git/refs{/sha}","trees_url":"https://api.github.com/repos/claudiodaffra/emscripten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claudiodaffra/emscripten/statuses/{sha}","languages_url":"https://api.github.com/repos/claudiodaffra/emscripten/languages","stargazers_url":"https://api.github.com/repos/claudiodaffra/emscripten/stargazers","contributors_url":"https://api.github.com/repos/claudiodaffra/emscripten/contributors","subscribers_url":"https://api.github.com/repos/claudiodaffra/emscripten/subscribers","subscription_url":"https://api.github.com/repos/claudiodaffra/emscripten/subscription","commits_url":"https://api.github.com/repos/claudiodaffra/emscripten/commits{/sha}","git_commits_url":"https://api.github.com/repos/claudiodaffra/emscripten/git/commits{/sha}","comments_url":"https://api.github.com/repos/claudiodaffra/emscripten/comments{/number}","issue_comment_url":"https://api.github.com/repos/claudiodaffra/emscripten/issues/comments{/number}","contents_url":"https://api.github.com/repos/claudiodaffra/emscripten/contents/{+path}","compare_url":"https://api.github.com/repos/claudiodaffra/emscripten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claudiodaffra/emscripten/merges","archive_url":"https://api.github.com/repos/claudiodaffra/emscripten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claudiodaffra/emscripten/downloads","issues_url":"https://api.github.com/repos/claudiodaffra/emscripten/issues{/number}","pulls_url":"https://api.github.com/repos/claudiodaffra/emscripten/pulls{/number}","milestones_url":"https://api.github.com/repos/claudiodaffra/emscripten/milestones{/number}","notifications_url":"https://api.github.com/repos/claudiodaffra/emscripten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claudiodaffra/emscripten/labels{/name}","releases_url":"https://api.github.com/repos/claudiodaffra/emscripten/releases{/id}","created_at":"2015-11-24T17:41:08Z","updated_at":"2015-11-24T17:41:40Z","pushed_at":"2015-12-02T15:42:06Z","git_url":"git://github.com/claudiodaffra/emscripten.git","ssh_url":"git@github.com:claudiodaffra/emscripten.git","clone_url":"https://github.com/claudiodaffra/emscripten.git","svn_url":"https://github.com/claudiodaffra/emscripten","homepage":"","size":133616,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kripken:master","ref":"master","sha":"42fb486c53d627b203b77af6e5d0c088c0ad03ad","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"repo":{"id":1357796,"name":"emscripten","full_name":"kripken/emscripten","owner":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kripken/emscripten","description":"Emscripten: An LLVM-to-JavaScript Compiler","fork":false,"url":"https://api.github.com/repos/kripken/emscripten","forks_url":"https://api.github.com/repos/kripken/emscripten/forks","keys_url":"https://api.github.com/repos/kripken/emscripten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kripken/emscripten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kripken/emscripten/teams","hooks_url":"https://api.github.com/repos/kripken/emscripten/hooks","issue_events_url":"https://api.github.com/repos/kripken/emscripten/issues/events{/number}","events_url":"https://api.github.com/repos/kripken/emscripten/events","assignees_url":"https://api.github.com/repos/kripken/emscripten/assignees{/user}","branches_url":"https://api.github.com/repos/kripken/emscripten/branches{/branch}","tags_url":"https://api.github.com/repos/kripken/emscripten/tags","blobs_url":"https://api.github.com/repos/kripken/emscripten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kripken/emscripten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kripken/emscripten/git/refs{/sha}","trees_url":"https://api.github.com/repos/kripken/emscripten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kripken/emscripten/statuses/{sha}","languages_url":"https://api.github.com/repos/kripken/emscripten/languages","stargazers_url":"https://api.github.com/repos/kripken/emscripten/stargazers","contributors_url":"https://api.github.com/repos/kripken/emscripten/contributors","subscribers_url":"https://api.github.com/repos/kripken/emscripten/subscribers","subscription_url":"https://api.github.com/repos/kripken/emscripten/subscription","commits_url":"https://api.github.com/repos/kripken/emscripten/commits{/sha}","git_commits_url":"https://api.github.com/repos/kripken/emscripten/git/commits{/sha}","comments_url":"https://api.github.com/repos/kripken/emscripten/comments{/number}","issue_comment_url":"https://api.github.com/repos/kripken/emscripten/issues/comments{/number}","contents_url":"https://api.github.com/repos/kripken/emscripten/contents/{+path}","compare_url":"https://api.github.com/repos/kripken/emscripten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kripken/emscripten/merges","archive_url":"https://api.github.com/repos/kripken/emscripten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kripken/emscripten/downloads","issues_url":"https://api.github.com/repos/kripken/emscripten/issues{/number}","pulls_url":"https://api.github.com/repos/kripken/emscripten/pulls{/number}","milestones_url":"https://api.github.com/repos/kripken/emscripten/milestones{/number}","notifications_url":"https://api.github.com/repos/kripken/emscripten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kripken/emscripten/labels{/name}","releases_url":"https://api.github.com/repos/kripken/emscripten/releases{/id}","created_at":"2011-02-12T05:23:30Z","updated_at":"2015-12-03T11:49:11Z","pushed_at":"2015-12-03T10:31:55Z","git_url":"git://github.com/kripken/emscripten.git","ssh_url":"git@github.com:kripken/emscripten.git","clone_url":"https://github.com/kripken/emscripten.git","svn_url":"https://github.com/kripken/emscripten","homepage":"","size":143067,"stargazers_count":9199,"watchers_count":9199,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1095,"mirror_url":null,"open_issues_count":698,"forks":1095,"open_issues":698,"watchers":9199,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3948"},"html":{"href":"https://github.com/kripken/emscripten/pull/3948"},"issue":{"href":"https://api.github.com/repos/kripken/emscripten/issues/3948"},"comments":{"href":"https://api.github.com/repos/kripken/emscripten/issues/3948/comments"},"review_comments":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3948/comments"},"review_comment":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kripken/emscripten/pulls/3948/commits"},"statuses":{"href":"https://api.github.com/repos/kripken/emscripten/statuses/9add5272f82b84d737800e9083c65c5c7a6b5ea5"}}}}