You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
webperl-for/build/emscripten_1.38.28_eagain.p...

21 lines
695 B
Diff

--- library.js.orig 2019-03-02 16:08:24.404047130 +0100
+++ library.js 2019-03-02 16:19:30.588047130 +0100
@@ -291,7 +291,7 @@
// pid_t fork(void);
// http://pubs.opengroup.org/onlinepubs/000095399/functions/fork.html
// We don't support multiple processes.
- ___setErrNo({{{ cDefine('EAGAIN') }}});
+ ___setErrNo({{{ cDefine('ENOTSUP') }}});
return -1;
},
vfork: 'fork',
@@ -817,7 +817,7 @@
// int system(const char *command);
// http://pubs.opengroup.org/onlinepubs/000095399/functions/system.html
// Can't call external programs.
- ___setErrNo({{{ cDefine('EAGAIN') }}});
+ ___setErrNo({{{ cDefine('ENOTSUP') }}});
return -1;
},