aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-06-05 07:27:31 -0400
committerNikolaus Rath <Nikolaus@rath.org>2017-06-05 07:27:31 -0400
commit60a0f6b00ea069e1eb0d9adb1c0234c9d2dd63f1 (patch)
tree4538b2b82b0e1f5b859c44a6680d46b763c65a14 /test
parentb2aaaaf40cdbc887d50cc0b504e25e199fcb3b13 (diff)
downloadlibfuse-60a0f6b00ea069e1eb0d9adb1c0234c9d2dd63f1.tar.gz
getgroups(): clarify code
read() return value should always be positive or -1. However, since we cast to unsigned a little later, it's clearer to check for non-negativity.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions