Russia (GMT+3)
Compiler guy. I like C, Rust and Go
yyp
on Libera.Chat and OFTCFrom Alexey Yerin to ~sircmpwn/hare-dev
Signed-off-by: Alexey Yerin <yyp@disroot.org> --- rt/+freebsd/syscalls.ha | 4 ++++ rt/+linux/syscalls.ha | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/rt/+freebsd/syscalls.ha b/rt/+freebsd/syscalls.ha index 5de82049..416ff6fb 100644 --- a/rt/+freebsd/syscalls.ha +++ b/rt/+freebsd/syscalls.ha @@ -513,3 +513,7 @@ export fn posix_fallocate(fd: int, off: i64, ln: i64) (void | errno) = { wrap_return(syscall3(SYS_posix_fallocate, fd: u64, off: u64, ln: u64))?; }; [message trimmed]
From Alexey Yerin to ~sircmpwn/himitsu-devel
For some reason, query::invalid was previously caught by the servererror case, which caused a crash later on in strerror(). This fixes mysterious assertions like "cmd.ha:20:1: execution reached unreachable code (compiler bug)" --- cmd/himitsud/cmd.ha | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/cmd/himitsud/cmd.ha b/cmd/himitsud/cmd.ha index 3f160e6..3359eb5 100644 --- a/cmd/himitsud/cmd.ha +++ b/cmd/himitsud/cmd.ha @@ -63,12 +63,16 @@ fn exec(serv: *server, client: *client, cmd: str) (void | servererror) = { [message trimmed]
From Alexey Yerin to ~sircmpwn/hare-dev
io::readall handles this case automatically. Signed-off-by: Alexey Yerin <yyp@disroot.org> --- bufio/scanner.ha | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/bufio/scanner.ha b/bufio/scanner.ha index 5b9ed3ac..31ed2306 100644 --- a/bufio/scanner.ha @@ -1,5 +1,5 @@ // License: MPL-2.0 // (c) 2021-2022 Alexey Yerin <yyp@disroot.org> // (c) 2021-2023 Alexey Yerin <yyp@disroot.org>[message trimmed]
From Alexey Yerin to ~vladh/hare-project-library
--- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0cce8f1..353acaf 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ If you're interested specifically in 3D graphics, check out * [~sebsite/hareconv](https://git.sr.ht/~sebsite/hareconv): Hare module -> C header converter * [~sebsite/haretags](https://git.sr.ht/~sebsite/haretags): ctags implementation for Hare * [~sircmpwn/hare-virt](https://git.sr.ht/~sircmpwn/hare-virt): hare-virt provides hypervisor support for Hare programs * [~yerinalexey/hare-annotate](https://git.sr.ht/~yerinalexey/hare-annotate): A library for implementing code generators [message trimmed]
From Alexey Yerin to ~yerinalexey/public-inbox
Oops, pasted the wrong thing. Thanks for the patch! To git.sr.ht:~yerinalexey/hare-annotate bb56968..382f422 master -> master
From Alexey Yerin to ~sircmpwn/hare-dev
Signed-off-by: Alexey Yerin <yyp@disroot.org> --- Lack of this breaks hare-annotate in a lot of cases. There is also (*x: int) that could have been tested but it looks like hare::parse interprets it incorrectly as *(x: int), and the test fails. hare/parse/+test/expr.ha | 21 ++++++++++++++ hare/unparse/expr.ha | 59 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/hare/parse/+test/expr.ha b/hare/parse/+test/expr.ha index 67824f8d..e3644b79 100644 --- a/hare/parse/+test/expr.ha [message trimmed]
From Alexey Yerin to ~vladh/hare-project-library
--- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fcebc82..ddfbcfa 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ If you're interested specifically in 3D graphics, check out ## Math * [~smlavine/quadratic](https://sr.ht/~smlavine/quadratic): A simple command-line quadratic formula solver * [~yerinalexey/csq](https://sr.ht/~yerinalexey/csq): A calculator for common fractions [message trimmed]
From Alexey Yerin to ~yerinalexey/public-inbox
Thanks, applied! I also reworded the commit message to make this change more clear. To git.sr.ht:~yerinalexey/miniplug eab06e6..0c2d269 master -> master To github.com:YerinAlexey/miniplug.git eab06e6..0c2d269 master -> master
From Alexey Yerin to ~sircmpwn/helios-devel
--- v4 -> v5: fix check target .gitignore | 9 +- Makefile | 113 +--------------------- boot/+x86_64/.gitignore | 2 + boot/+x86_64/Makefile | 103 ++++++++++++++++++++ boot/{ => +x86_64}/boot.s | 0 boot/{ => +x86_64}/cons.ha | 0 boot/{ => +x86_64}/elf.ha | 0 boot/{ => +x86_64}/link.ld | 0 boot/{ => +x86_64}/main.ha | 0 boot/{ => +x86_64}/rt.ha | 0 syslinux.cfg => boot/+x86_64/syslinux.cfg | 0 [message trimmed]
From Alexey Yerin to ~sircmpwn/helios-devel
On Sun Oct 2, 2022 at 12:05 PM MSK, Drew DeVault wrote: > make check does not work Oops, fixed in v5. > I also think that the nographic et al targets belong in mk/x86_64.mk > rather than boot/ Yes, but having targets in mk causes to set 'run' as the default target, which can be fixed by moving mk/arch.mk's include down, in which case 'all' will break as it uses $(BOOTOUT) from mk/arch.mk. Not sure what the best solution would be.