mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Avoid a portability problem in the checksum test
String literals are not guaranteed to work like this. https://bugzilla.gnome.org/show_bug.cgi?id=570572
This commit is contained in:
parent
abbb54cdd6
commit
f802f467a5
@ -18,7 +18,7 @@
|
||||
* string is intentionally more than twice that length.
|
||||
*/
|
||||
|
||||
#define FIXED_STR "The quick brown fox jumps over the lazy dog. Jackdaws love my big sphinx of quartz. Pack my box with five dozen liquor jugs. How razorback-jumping frogs can level six piqued gymnasts!"
|
||||
static const char FIXED_STR[] = "The quick brown fox jumps over the lazy dog. Jackdaws love my big sphinx of quartz. Pack my box with five dozen liquor jugs. How razorback-jumping frogs can level six piqued gymnasts!";
|
||||
#define FIXED_LEN (strlen (FIXED_STR))
|
||||
|
||||
const char *MD5_sums[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user