[PATCH] Store EXC_FLAG_* values in unsigned integers

2016-03-01 Thread Saurav Sachidanand
;flags" of "exclude" to explicitly state the values it’s supposed to take on. Signed-off-by: Saurav Sachidanand --- This is a patch for the suggested microproject for GSoC 2016, titled "Use unsigned integral type for collection of bits." It’s the fourth iteration of th

[PATCH v2] Change type of signed int flags to unsigned

2016-02-29 Thread Saurav Sachidanand
while we’re at it, document the "flags" field of "exclude" to explicitly state the values it’s supposed to take on. Signed-off-by: Saurav Sachidanand --- This patch is for the suggested microproject for GSoC 2016 titled "Use unsigned integral type for collection of bi

[PATCH] Change type of signed int flags to unsigned

2016-02-25 Thread Saurav Sachidanand
ent. To avoid converting between pointers to different types, change type of the flags argument to “unsigned *”. While we’re at it, document the flags field of exclude to explicitly state the values it’s supposed to take on. Signed-off-by: Saurav Sachidanand --- attr.c | 2 +- dir.c | 4 ++-- dir.h

[PATCH] GSoC Micoproject: Hunt down signed int flags

2016-02-21 Thread Saurav Sachidanand
warnings, and running make in t/ didn’t produce any breakage that wasn’t ‘#TODO known breakage’. I also thought it’d be helpful to add the comment /* EXC_FLAG_* */ next to `flags` of `exclude`, just like it exists for `flags` of `pattern`. Signed-off-by: Saurav Sachidanand --- attr.c | 2 +- di