Skip to content

Commit

Permalink
2023-12-01 11:00 UTC+0100 Phil Krylov (phil a t krylov.eu)
Browse files Browse the repository at this point in the history
  * src/rtl/fserr.c
    * Mapped ERROR_INVALID_NAME on Windows to DOS error 2.
      Makes hbtest pass on Windows.
  • Loading branch information
tuffnatty committed Dec 1, 2023
1 parent 1ba1f6b commit 57be18d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */

2023-12-01 11:00 UTC+0100 Phil Krylov (phil a t krylov.eu)
* src/rtl/fserr.c
* Mapped ERROR_INVALID_NAME on Windows to DOS error 2.
Makes hbtest pass on Windows.

2023-11-30 22:36 UTC+0100 Phil Krylov (phil a t krylov.eu)
* src/3rd/Makefile
- src/3rd/tiff/
Expand Down
1 change: 1 addition & 0 deletions src/rtl/fserr.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ static HB_ERRCODE hb_WinToDosError( DWORD dwError )
{
case ERROR_PRIVILEGE_NOT_HELD:
case ERROR_ALREADY_EXISTS: return 5;
case ERROR_INVALID_NAME:
case ERROR_FILE_NOT_FOUND: return 2;
case ERROR_PATH_NOT_FOUND: return 3;
case ERROR_TOO_MANY_OPEN_FILES: return 4;
Expand Down

0 comments on commit 57be18d

Please sign in to comment.