code improvements that avoid warnings on higher warning levels

remove unnecessary casts

remove POSIX reserved type suffix from code

add test case for directory exclusion

(0) -100 -30 -10 -4 +4 +10 tip

mercurial