Skip to content

Commit

Permalink
jsc/wasm32/wasm32.jsc: getpid: return pid
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 3, 2021
1 parent 89c87d3 commit babcf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsc/wasm32/wasm32.jsc
Original file line number Diff line number Diff line change
Expand Up @@ -5308,7 +5308,7 @@ ThinThin.getuid = ThinThin.geteuid = ThinThin.getgid = ThinThin.getegid = functi

ThinThin.getpid = ThinThin.getppid = function ()
{
return 1;
return this.pid;
};

ThinThin.dlload = function (addr, len, memp)
Expand Down

0 comments on commit babcf65

Please sign in to comment.