[Git][NTPsec/ntpsec][master] LIB_BUFLENGTH: gcc complained that 128 was too short, increased to 192.

Gary E. Miller gitlab at mg.gitlab.com
Wed May 10 20:01:24 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
aeecd73b by Gary E. Miller at 2017-05-10T13:00:31-07:00
LIB_BUFLENGTH: gcc complained that 128 was too short, increased to 192.

I hope this fixes issue #293

- - - - -


1 changed file:

- include/lib_strbuf.h


Changes:

=====================================
include/lib_strbuf.h
=====================================
--- a/include/lib_strbuf.h
+++ b/include/lib_strbuf.h
@@ -11,7 +11,8 @@
  * Sizes of things
  */
 #define LIB_NUMBUF	16
-#define	LIB_BUFLENGTH	128
+/* gcc 7 showed us that 128 is too short for LIB_BUFLENGTH */
+#define	LIB_BUFLENGTH	192
 
 typedef char libbufstr[LIB_BUFLENGTH];
 extern libbufstr lib_stringbuf[LIB_NUMBUF];



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/aeecd73b33df8b5a31294d96d4031a9a728e9fa3

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/aeecd73b33df8b5a31294d96d4031a9a728e9fa3
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170510/e6647456/attachment.html>


More information about the vc mailing list