Return true if ERROR_NUMBER is one of the values associated with a failed rmdir due to non-empty target directory. */
| 71 | /* Return true if ERROR_NUMBER is one of the values associated |
| 72 | with a failed rmdir due to non-empty target directory. */ |
| 73 | static bool |
| 74 | errno_rmdir_non_empty (int error_number) |
| 75 | { |
| 76 | return error_number == ENOTEMPTY || error_number == EEXIST; |
| 77 | } |
| 78 | |
| 79 | /* Return true if when rmdir fails with errno == ERROR_NUMBER |
| 80 | the directory may be non empty. */ |