om

om - the most recently modified file in a directory
git clone git://git.larryhynes.net/om
Log | Files | Refs | README | LICENSE

commit 2383eb9ca4d7767279003ccd4bc5b2c73ebb2c1d
parent 326849d1f472a0b44750db21873fc7a67d8b88e6
Author: Larry Hynes <larry@larryhynes.com>
Date:   Tue,  4 Jul 2017 20:50:05 +0100

Keep struct with struct

Diffstat:
om.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/om.c b/om.c @@ -47,8 +47,8 @@ om() { DIR *dirp; struct dirent *ent; - time_t mtime = 0; struct stat sb; + time_t mtime = 0; size_t len; int c = 0;