forked from alexfru/SmallerC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of %TEMP% & %TMP% in tmpnam()/tmpfile()
The TEMP and TMP environment variables in DOS/Windows were not properly handled in tmpnam()/tmpfile() w.r.t. slashes in file names resulting in fallback to C:\ as the location for temporary files. While in most cases this was OK, this posed a problem for write-protected C: drives (e.g. USB sticks).
- Loading branch information
Showing
10 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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