mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 12:23:41 +00:00
[UCRT] Make SEH blocks ReactOS PSEH compatible
This commit is contained in:
parent
7bb9f6bf28
commit
e98e9000c7
59 changed files with 98 additions and 0 deletions
|
@ -61,6 +61,7 @@ extern "C" int __cdecl _pipe(int* const phandles, unsigned const psize, int cons
|
|||
{
|
||||
__acrt_lowio_unlock_fh(crt_read_handle);
|
||||
}
|
||||
__endtry
|
||||
|
||||
// Create the CRT write handle for the pipe:
|
||||
int const crt_write_handle = _alloc_osfhnd();
|
||||
|
@ -84,6 +85,7 @@ extern "C" int __cdecl _pipe(int* const phandles, unsigned const psize, int cons
|
|||
{
|
||||
__acrt_lowio_unlock_fh(crt_write_handle);
|
||||
}
|
||||
__endtry
|
||||
|
||||
// Figure out which textmode the file gets:
|
||||
int fmode = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue