shithub: scc

Download patch

ref: abef896b724bbd7f0f2ef2c80df4f479dfac297d
parent: 02179049f253327e317bf4ff78597ce4723d7986
author: Quentin Rameau <quinq@fifth.space>
date: Thu Jan 10 21:15:26 EST 2019

[cmd] Set the size in POSIX getprop

--- a/src/cmd/posix.c
+++ b/src/cmd/posix.c
@@ -33,6 +33,7 @@
 	prop->gid = st.st_gid;
 	prop->mode = st.st_mode;
 	prop->time = st.st_mtime;
+	prop->size = st.st_size;
 
 	return 0;
 }