Yan

Results 6 issues of Yan

I think that this question want to test `dup2` function. ```c if (argc == 2) { int fd = Open(argv[1], O_RDONLY, 0); dup2(fd, STDIN_FILENO) } // before Rio_readinitb ```

Should free the two tables and the set.

``` AP_T x = AP_new(LONG_MIN); long val = AP_toint(x); // The val is 0 ``` `AP_toint` turn `LONG_MIN` to `0` . https://github.com/drh/cii/blob/master/src/ap.c#L323 can use without `%`. ``` unsigned long u...

https://github.com/drh/cii/blob/master/src/xp.c#L192 should change to `if (n >= m + s/8)` For example `{0xFF, 0xFF}` shift left `XP_lshift(3, z, 2, x, 20, 0)` should be `{0, 0, 0}` , but is...

https://github.com/drh/cii/blob/master/src/ap.c#L361 Before `AP_new(0)` , call `AP_free(&z)` making code stricting, Does it ? ` if (endp == p) { endp = (char *)str; z = AP_new(0); } `

* 运行测试 test\features `bin\msvc\debug\lua.exe test\features\main.lua` 这时下拉菜单默认选中的是 `shadow` * 将下拉菜单切换到 `` * 将下拉菜单切回 `shadow` * 再将下拉菜单切到 `` * 出现报错 ```shell [ERROR]( ant.window|world )duplicate group stack traceback: ( service:9 ) d:/work/engine/ant/pkg/ant.group/group.lua:15: in...