[CDFS_NEW] Remove a broken change (lol?!) that prevented the driver to properly work in ROS... Dropping SEH doesn't mean dropping code!

This commit is contained in:
Pierre Schweitzer 2017-11-06 19:55:34 +01:00
parent 7b19676e2b
commit e4da7ecc50
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 4 additions and 6 deletions

View file

@ -1889,8 +1889,8 @@ CdCommonPnp ( // Implemented in Pnp.c
#define GetExceptionCode() 0 #define GetExceptionCode() 0
#define AbnormalTermination() 0 #define AbnormalTermination() 0
#define try_return(S) { goto try_exit; } #define try_return(S) { S; goto try_exit; }
#define try_leave(S) { leave; } #define try_leave(S) { S; leave; }
// //

View file

@ -564,10 +564,8 @@ Index: drivers/filesystems/cdfs_new/cdprocs.h
+#define GetExceptionCode() 0 +#define GetExceptionCode() 0
+#define AbnormalTermination() 0 +#define AbnormalTermination() 0
-#define try_return(S) { S; goto try_exit; } #define try_return(S) { S; goto try_exit; }
-#define try_leave(S) { S; leave; } #define try_leave(S) { S; leave; }
+#define try_return(S) { goto try_exit; }
+#define try_leave(S) { leave; }
+ +
// //