fchdir: fix off-by-one bug in previous patch
authorEric Blake <ebb9@byu.net>
Tue, 1 Sep 2009 16:06:44 +0000 (10:06 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 1 Sep 2009 19:08:38 +0000 (13:08 -0600)
commit0a9873c53517b88fe01a2678002b95574e433a03
treeaf3094d625118316359a12b5a61992414f1a4f60
parent1f6f04fa73397e0ed8de600aafdec45b976335a8
fchdir: fix off-by-one bug in previous patch

* lib/fchdir.c (rpl_fstat): Use correct bounds.
(_gl_unregister_fd): Delete useless if.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/fchdir.c