]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: use enums to make dir_status code easier to read
authorPádraig Brady <P@draigBrady.com>
Sun, 25 Sep 2022 14:26:20 +0000 (15:26 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 25 Sep 2022 14:26:20 +0000 (15:26 +0100)
commit627c9a97c1054afdbe6870f3b64d42e7fccaf9eb
tree8056c75775b11a7fb9f8068b478e633d8a014819
parent800ff60f6f68223e30e8dd347381a2934cdb4f1c
maint: use enums to make dir_status code easier to read

* src/system.h: Add DS_EMPTY, and DS_NONEMPTY enums.
* src/remove.c: Use the new enums to make code easier to understand.
src/remove.c
src/system.h