a fix: UID and GID were sign-extended
This commit is contained in:
parent
18b7250736
commit
469b3cc1e1
1 changed files with 2 additions and 2 deletions
|
@ -337,8 +337,8 @@ register char *argv[];
|
|||
|
||||
print("%s%3u/%u%7ld %s %s %s",
|
||||
mode,
|
||||
(unsigned) member->ar_uid,
|
||||
(unsigned) member->ar_gid,
|
||||
(unsigned) (member->ar_uid & 0377),
|
||||
(unsigned) (member->ar_gid & 0377),
|
||||
member->ar_size,
|
||||
date+4,
|
||||
date+20,
|
||||
|
|
Loading…
Reference in a new issue