Skip to content

Commit daab220

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)