commit abef896b724bbd7f0f2ef2c80df4f479dfac297d parent 02179049f253327e317bf4ff78597ce4723d7986 Author: Quentin Rameau <quinq@fifth.space> Date: Fri, 11 Jan 2019 02:15:26 +0100 [cmd] Set the size in POSIX getprop Diffstat:
| M | src/cmd/posix.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/cmd/posix.c b/src/cmd/posix.c @@ -33,6 +33,7 @@ getstat(char *fname, struct fprop *prop) prop->gid = st.st_gid; prop->mode = st.st_mode; prop->time = st.st_mtime; + prop->size = st.st_size; return 0; }