add mode chars
This commit is contained in:
parent
46199d113e
commit
8a75090664
2 changed files with 22 additions and 3 deletions
|
|
@ -33,6 +33,14 @@ dirmodefmt(Fmt *f)
|
|||
buf[0]='a';
|
||||
else if(m & DMAUTH)
|
||||
buf[0]='A';
|
||||
else if(m & DMDEVICE)
|
||||
buf[0] = 'D';
|
||||
else if(m & DMSYMLINK)
|
||||
buf[0] = 'L';
|
||||
else if(m & DMSOCKET)
|
||||
buf[0] = 'S';
|
||||
else if(m & DMNAMEDPIPE)
|
||||
buf[0] = 'P';
|
||||
else
|
||||
buf[0]='-';
|
||||
if(m & DMEXCL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue