commit 2cf6a99d4c85952c3061cc4ca60df0d441360ef4 parent 0b7fc96dba8a0b2c423cd2d554161e26ceb17f7b 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; }