os

An operating system
git clone https://erai.gay/code/os/
Log | Files | Refs | README | LICENSE

commit 553695a785096195f1be2d32cc68dabbd0159e2c
parent 4c9e73e3bc919fb444440f8aedfec6641dcdaa87
Author: erai <erai@omiltem.net>
Date:   Mon, 20 Jan 2025 17:02:06 +0000

truncate cpio ino to 32 bits

Diffstat:
Mcpio.om | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpio.om b/cpio.om @@ -95,7 +95,7 @@ func main(argc: int, argv: **byte, envp: **byte) { // header fputs(stdout, "070701"); - fputh(stdout, stat.ino); + fputh(stdout, stat.ino & (-1 >> 32)); fputh(stdout, stat.uid_mode & (-1 >> 32)); fputh(stdout, 0); fputh(stdout, 0);