updated code to correct the RDONLY bit behavior
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-08 15:52:32 +09:00
parent 4a6da0b386
commit b39bfaa181
14 changed files with 160 additions and 74 deletions

View File

@ -4882,7 +4882,7 @@ hcl_oop_t hcl_inttostr (hcl_t* hcl, hcl_oop_t num, int flagged_radix)
hcl->inttostr.xbuf.len = xlen;
return hcl->_nil;
}
return hcl_makestring(hcl, xbuf, xlen, 0);
return hcl_makestring(hcl, xbuf, xlen);
}
as = HCL_OBJ_GET_SIZE(num);
@ -4931,7 +4931,7 @@ hcl_oop_t hcl_inttostr (hcl_t* hcl, hcl_oop_t num, int flagged_radix)
return hcl->_nil;
}
return hcl_makestring(hcl, xbuf, xlen, 0);
return hcl_makestring(hcl, xbuf, xlen);
oops_einval:
hcl_seterrnum (hcl, HCL_EINVAL);