-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix portability problem with uselocale(), et. al.
misc/create_inode_libarchive.c uses uselocale(), newlocale(), et. al. These functions are defined in POSIX.1-2017, which isn't available everywhere --- including MacOS and Windows. We don't actually need to use these functions, since mke2fs already calls setlocale() to initialize to use the default locale. So there was no reason to set and restore the locale to use exactly the default locale. Signed-off-by: Theodore Ts'o <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
7 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