https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e4da7ecc50b59b9f8283d…
commit e4da7ecc50b59b9f8283d84b3707fa69c595a57d
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Mon Nov 6 19:55:34 2017 +0100
[CDFS_NEW] Remove a broken change (lol?!) that prevented the driver to properly work
in ROS... Dropping SEH doesn't mean dropping code!
---
drivers/filesystems/cdfs_new/cdprocs.h | 4 ++--
drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff | 6 ++----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/filesystems/cdfs_new/cdprocs.h
b/drivers/filesystems/cdfs_new/cdprocs.h
index 4cb7da2098..921f523720 100755
--- a/drivers/filesystems/cdfs_new/cdprocs.h
+++ b/drivers/filesystems/cdfs_new/cdprocs.h
@@ -1889,8 +1889,8 @@ CdCommonPnp ( // Implemented in
Pnp.c
#define GetExceptionCode() 0
#define AbnormalTermination() 0
-#define try_return(S) { goto try_exit; }
-#define try_leave(S) { leave; }
+#define try_return(S) { S; goto try_exit; }
+#define try_leave(S) { S; leave; }
//
diff --git a/drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff
b/drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff
index 46023ebfb9..b785ad9107 100644
--- a/drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff
+++ b/drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff
@@ -564,10 +564,8 @@ Index: drivers/filesystems/cdfs_new/cdprocs.h
+#define GetExceptionCode() 0
+#define AbnormalTermination() 0
--#define try_return(S) { S; goto try_exit; }
--#define try_leave(S) { S; leave; }
-+#define try_return(S) { goto try_exit; }
-+#define try_leave(S) { leave; }
+ #define try_return(S) { S; goto try_exit; }
+ #define try_leave(S) { S; leave; }
+
//