summaryrefslogblamecommitdiff
path: root/user/http-parser/remove-bogus-sizeof-test.patch
blob: 5f912fb5b6c563422b9833c466e1bea7f33a1414 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                             
Upstream issues:
https://github.com/nodejs/http-parser/issues/507
https://github.com/nodejs/http-parser/pull/510

--- http-parser-2.9.4/test.c	2020-03-24 05:54:06.000000000 -0500
+++ http-parser-2.9.4/test.c	2020-06-15 22:54:06.020315073 -0500
@@ -4221,7 +4221,6 @@ main (void)
   printf("http_parser v%u.%u.%u (0x%06lx)\n", major, minor, patch, version);
 
   printf("sizeof(http_parser) = %u\n", (unsigned int)sizeof(http_parser));
-  assert(sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *));
 
   //// API
   test_preserve_data();