#88524rmdir not respecting POSIX standard - missing files
Description
Hi
Having a problem with typo3 and it’s own written rmdir function: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/core/Classes/Utility/GeneralUtility.php#L2105
POSIX standard says the following:
If a file is removed from or added to the directory after the most recent call to opendir() or rewinddir(), whether a subsequent call to readdir() returns an entry for that file is unspecified
So the problem is, that it doesn’t return all files while deleting it – for more details read the issue about the same topic here: https://github.com/emscripten-core/emscripten/issues/2528
As a consequence, e.g. deleting extensions does not work because it did not delete all files.
Thanks, greetings Pascal