Use unsigned leb128 for magnums

This commit is contained in:
Justine Tunney 2021-02-24 04:00:38 -08:00
parent edd9297eba
commit cdc54ea1fd
931 changed files with 1989 additions and 1983 deletions

View file

@ -30,7 +30,7 @@
* @see libc/sysv/consts.sh
*/
int setrlimit(int resource, const struct rlimit *rlim) {
if (resource == -1) return einval();
if (resource == 127) return einval();
if (!IsWindows()) {
return sys_setrlimit(resource, rlim);
} else {