om

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

commit 30e9bd5eb1bd1c8863f88e73a405c23d845d31c7
parent a43c0fec1dba4d7899419ed55a54461574607a91
Author: Larry Hynes <larry@larryhynes.com>
Date:   Thu,  6 Jul 2017 19:49:26 +0100

Update comment for strp()

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

diff --git a/om.c b/om.c @@ -15,7 +15,10 @@ char buf[PATH_MAX]; char res[NAME_MAX]; int r; -/* Check for, and remove, trailing slash on argument */ +/* + * Check for, and remove, a trailing slash on the directory, + * unless the directory is '/'. +*/ char *strp() {