Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Make __PHYSFS_platformDirSeparator into a single char.
This multichar thing was always stupid. Pull it out of revision control if you ever need it.
- Loading branch information
Showing
with
38 additions
and 46 deletions.
- +9 −6 src/archiver_dir.c
- +21 −31 src/physfs.c
- +8 −4 src/physfs_internal.h
- +0 −4 src/platform_posix.c
- +0 −1 src/platform_windows.c
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
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
@@ -30,10 +30,6 @@ | ||
|
||
#include "physfs_internal.h" | ||
|
||
char *__PHYSFS_platformCopyEnvironmentVariable(const char *varname) | ||
{ | ||
const char *envr = getenv(varname); | ||
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
@@ -93,7 +93,6 @@ typedef struct | ||
} WinApiFile; | ||
|
||
|
||
static char *userDir = NULL; | ||
static HANDLE libUserEnv = NULL; | ||
static HANDLE detectCDThreadHandle = NULL; | ||