om

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

commit a43c0fec1dba4d7899419ed55a54461574607a91
parent 89c5b6b9f0b5b9ee15b822d5f4879c07269847d3
Author: Larry Hynes <larry@larryhynes.com>
Date:   Thu,  6 Jul 2017 18:18:05 +0100

Style

Diffstat:
om.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/om.c b/om.c @@ -21,8 +21,8 @@ char { if (strcmp(dir, "/") != 0) { size_t len = strlen(dir); - if (dir[len -1] == '/') - dir[len -1] = '\0'; + if (dir[len - 1] == '/') + dir[len - 1] = '\0'; } else { r = 1; }