Mercurial > hg > Members > kono > os9 > sbc09
changeset 63:1887f7098f15
makdir/del checked
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 25 Jul 2018 22:46:39 +0900 |
parents | 5b3871f8bdaa |
children | 41f14f365b34 |
files | src/vdisk.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vdisk.c Wed Jul 25 20:27:11 2018 +0900 +++ b/src/vdisk.c Wed Jul 25 22:46:39 2018 +0900 @@ -561,9 +561,11 @@ case 0xd3: *breg = 0xff; + mode = *areg; + attr = *breg; path = (char*)pmem(xreg); next = checkFileName(path,pd,curdir); - if (next!=0 && mkdir(pd->name,0)!= 0 ) { + if (next!=0 && mkdir(pd->name,os9mode(attr))== 0 ) { xreg += ( next - path ); *breg = 0; }