Skip to content

Commit bbcd1a8

Browse files
committed
Fix README and segmentation fault for FreeBSD, addressing #163
1 parent 536c69d commit bbcd1a8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc-x64-macos
236236

237237
```bash
238238
$ git clone https://gitee.com/RubyMetric/chsrc.git; cd chsrc
239-
$ clang -Iinclude src/chsrc-main.c -o chsrc
239+
$ clang -Iinclude -Ilib src/chsrc-main.c -o chsrc
240240
```
241241
</details>
242242

lib/xy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Lib Name : xy.h
66
* Lib Authors : Aoran Zeng <[email protected]>
77
* | Heng Guo <[email protected]>
8-
* Contributors : Nil Null <[email protected]>
8+
* Contributors : juzeon <[email protected]>
99
* |
1010
* Created On : <2023-08-28>
1111
* Last Modified : <2024-12-14>
@@ -642,7 +642,7 @@ xy_run_iter (const char *cmd, unsigned long n, void (*iter_func) (const char *
642642
static char *
643643
xy_run (const char *cmd, unsigned long n)
644644
{
645-
xy_run_iter (cmd, n, NULL);
645+
return xy_run_iter (cmd, n, NULL);
646646
}
647647

648648

src/chsrc-main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* | zouri <[email protected]>
2121
* | yongxiang <[email protected]>
2222
* | YU-7 <[email protected]>
23+
* | juzeon <[email protected]>
2324
* |
2425
* Created On : <2023-08-28>
2526
* Last Modified : <2024-12-25>

0 commit comments

Comments
 (0)