remove server silliniess

Gregory M. Turner gmturner007 at ameritech.net
Wed Apr 16 15:51:29 CDT 2003


remove run-time checks of compile-time constants.

--
Index: request.c
===================================================================
RCS file: /home/wine/wine/server/request.c,v
retrieving revision 1.79
diff -u -r1.79 request.c
--- request.c   28 Mar 2003 00:36:12 -0000      1.79
+++ request.c   16 Apr 2003 20:33:30 -0000
@@ -708,10 +708,6 @@
     int fd, pid, status, sync_pipe[2];
     char dummy;

-    /* make sure no request is larger than the maximum size */
-    assert( sizeof(union generic_request) == sizeof(struct request_max_size) );
-    assert( sizeof(union generic_reply) == sizeof(struct request_max_size) );
-
     create_server_dir();

     if (!foreground)
-- 
gmt

"Democracy is the theory that holds that the common people know
what they want, and deserve to get it good and hard." HL Mencken



More information about the wine-patches mailing list