From 94833007581e2d0fc24b570f72cceeecb56843e6 Mon Sep 17 00:00:00 2001 From: Warren Toomey Date: Fri, 18 Mar 2016 19:47:05 +1000 Subject: [PATCH] sys status returns 13 words, the last one holds the i-number. --- src/other/wktls.s | 2 +- src/sys/s2.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/other/wktls.s b/src/other/wktls.s index 7142a65..1e430dc 100644 --- a/src/other/wktls.s +++ b/src/other/wktls.s @@ -240,7 +240,7 @@ s.uid: 0 s.nlinks: 0 s.size: 0 s.uniq: 0 -largemask: 200000 " large file, bigger than 4096 words +largemask: 0200000 " large file, bigger than 4096 words isdirmask: 000020 " is a directory ureadmask: 000010 " user read uwritemask: 000004 " user write diff --git a/src/sys/s2.s b/src/sys/s2.s index db3bca8..061d820 100644 --- a/src/sys/s2.s +++ b/src/sys/s2.s @@ -2,7 +2,7 @@ " s2 " file status (stat) system call - " AC/ pointer to status (inode) buffer (12 words) + " AC/ pointer to status (inode) buffer + i-num (13 words) " sys status; dir_name_ptr; file_name_ptr .status: jms arg " fetch directory name pointer