-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filesystem iteration on Windows (#469)
* Get rid of unnecessary casts in rcutils_dir_iter_t. Instead of using a void pointer, use the forward-declared pointer type. While this won't make a difference for the generated code, it will let us remove unnecessary casts. * Remove unnecessary FindClose on error. In particular, if we failed to find the next file on Windows, we shouldn't necessarily close the handle; that's the job of rcutils_dir_iter_end. * Remove completely unnecessary #ifdef __cplusplus header. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
ebb174d
commit 8f5d6bc
Showing
2 changed files
with
23 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters