[CDFS_NEW] Remove a broken change (lol?!) that prevented the driver to properly work...
authorPierre Schweitzer <pierre@reactos.org>
Mon, 6 Nov 2017 18:55:34 +0000 (19:55 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 6 Nov 2017 19:02:16 +0000 (20:02 +0100)
drivers/filesystems/cdfs_new/cdprocs.h
drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff

index 4cb7da2..921f523 100755 (executable)
@@ -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; }
 
 
 //
index 46023eb..b785ad9 100644 (file)
@@ -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; }
  
 +
  //