• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/ucode/tests/custom/99_bugs/31_vallist_8bit_shortstrings

  1 Due to using signed byte values when writing/reading short strings
  2 to/from pointer addresses, 8 bit characters where incorrectly clamped
  3 to `-1` (`255`).
  4 
  5 -- Testcase --
  6 {{ ord("รถ", 1) != -1 }}
  7 -- End --
  8 
  9 -- Expect stdout --
 10 true
 11 -- End --

This page was automatically generated by LXR 0.3.1.  •  OpenWrt