Skip to content

Commit

Permalink
jsc/wasm32/wasm32.jsc: minor workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 7, 2021
1 parent 215eeed commit aa76368
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 @@ -5363,7 +5363,7 @@ ThinThin.getuid = ThinThin.geteuid = ThinThin.getgid = ThinThin.getegid = functi

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

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

0 comments on commit aa76368

Please sign in to comment.