Fix README and segmentation fault for FreeBSD, addressing #163

This commit is contained in:
juzheng 2024-12-27 14:14:44 +08:00 committed by ccmywish
parent 536c69d04f
commit 1ab8b7c8e5
3 changed files with 4 additions and 3 deletions

View File

@ -236,7 +236,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
```bash
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
$ clang -Iinclude src/chsrc-main.c -o chsrc
$ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc
```
</details>

View File

@ -5,7 +5,7 @@
* Lib Name : xy.h
* Lib Authors : Aoran Zeng <ccmywish@qq.com>
* | Heng Guo <2085471348@qq.com>
* Contributors : Nil Null <nil@null.org>
* Contributors : juzeon <skyjuzheng@gmail.com>
* |
* Created On : <2023-08-28>
* Last Modified : <2024-12-14>
@ -642,7 +642,7 @@ xy_run_iter (const char *cmd, unsigned long n, void (*iter_func) (const char *
static char *
xy_run (const char *cmd, unsigned long n)
{
xy_run_iter (cmd, n, NULL);
return xy_run_iter (cmd, n, NULL);
}

View File

@ -20,6 +20,7 @@
* | zouri <guoshuaisun@outlook.com>
* | yongxiang <1926885268@qq.com>
* | YU-7 <2747046473@qq.com>
* | juzeon <skyjuzheng@gmail.com>
* |
* Created On : <2023-08-28>
* Last Modified : <2024-12-25>