remove server silliniess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux