The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #14024 from MisterDA/unterminated-string-initialization

Fix unterminated-string-initialization warning

authored by

Gabriel Scherer and committed by
GitHub
c629296d e23e32b7

+13 -4
+3
Changes
··· 57 57 handling deep constraints. 58 58 (Clement Blaudeau, review by Florian Angeletti and Samuel Vivien) 59 59 60 + - #14024: Fix unterminated-string-initialization warnings from the C compiler. 61 + (Antonin Décimo, review by David Allsopp and Miod Vallat) 62 + 60 63 ### Build system: 61 64 62 65 ### Bug fixes:
+10 -4
yacc/reader.c
··· 58 58 return f == NULL ? nmemb : fwrite(ptr, 1, nmemb, f); 59 59 } 60 60 61 - static unsigned char caml_ident_start[32] = 62 - "\000\000\000\000\000\000\000\000\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\377\377\177\377\377\377\177\377"; 63 - static unsigned char caml_ident_body[32] = 64 - "\000\000\000\000\200\000\377\003\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\377\377\177\377\377\377\177\377"; 61 + static unsigned char caml_ident_start[32] = { 62 + '\000', '\000', '\000', '\000', '\000', '\000', '\000', '\000', 63 + '\376', '\377', '\377', '\207', '\376', '\377', '\377', '\007', 64 + '\000', '\000', '\000', '\000', '\000', '\000', '\000', '\000', 65 + '\377', '\377', '\177', '\377', '\377', '\377', '\177', '\377' }; 66 + static unsigned char caml_ident_body[32] = { 67 + '\000', '\000', '\000', '\000', '\200', '\000', '\377', '\003', 68 + '\376', '\377', '\377', '\207', '\376', '\377', '\377', '\007', 69 + '\000', '\000', '\000', '\000', '\000', '\000', '\000', '\000', 70 + '\377', '\377', '\177', '\377', '\377', '\377', '\177', '\377' }; 65 71 66 72 #define In_bitmap(bm,c) (bm[(unsigned char)(c) >> 3] & (1 << ((c) & 7))) 67 73