From 9ec595d51a34d795903579644ca93c6b41786221 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 26 Aug 2020 03:08:33 +0200 Subject: In progress --- src/b_sqb_file.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/b_sqb_file.c') diff --git a/src/b_sqb_file.c b/src/b_sqb_file.c index c371d50..5b6576a 100644 --- a/src/b_sqb_file.c +++ b/src/b_sqb_file.c @@ -40,6 +40,10 @@ static t_bool return (TRUE); else if (id == FT_ID_SQB_S && st->st_size != 0) return (TRUE); + else if (id == FT_ID_SQB_W && access(path, W_OK) == 0) + return (TRUE); + else if (id == FT_ID_SQB_X && access(path, X_OK) == 0) + return (TRUE); return (FALSE); } -- cgit v1.2.3