]> Savannah Git Hosting - gnulib.git/commit
fts: fix errno handling if dirfd fails
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2022 01:33:49 +0000 (18:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Sep 2022 01:35:56 +0000 (18:35 -0700)
commit37f96b7066116661ea4b9e82ed04e767eedc0d1d
tree84b62596091f066619f7c89c904f32809bec4807
parent9187f1c193767b7a09a2d9ef8e72f6f0dabd3250
fts: fix errno handling if dirfd fails

* lib/fts.c (fts_build): Use proper errno if dirfd failed.
Although I don’t know of any platform where dirfd can fail here,
we might as well get it right.
ChangeLog
lib/fts.c