{"push_id":3059567992,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"248d815fe9ab445a95032d70cd7b88cef4fe969e","before":"5ee7859ef9cfa328746c33c671fbde206d602855","commits":[{"sha":"248d815fe9ab445a95032d70cd7b88cef4fe969e","author":{"name":"Ofydd David","email":"08e8f7940b8ba7a297e0fac1fc9747b209fec331@gmail.com"},"message":"fix build on newer gcc\n\nI have this error:\r\n```\r\njizvash@localhost:~/openbsd-man$ make\r\ncc -O2 -Wall -Werror -c config.c -o config.o\r\ncc -O2 -Wall -Werror -c strlcpy.c -o strlcpy.o\r\ncc -O2 -Wall -Werror -c man.c -o man.o\r\nman.c: In function ‘manual’:\r\nman.c:752:41: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4093 [-Werror=format-truncation=]\r\n  (void)snprintf(buf, sizeof(buf), \"%s > %s\", fmt, tpath);\r\n                                         ^~        ~~~~~\r\nman.c:752:8: note: ‘snprintf’ output 4 or more bytes (assuming 4099) into a destination of size 4096\r\n  (void)snprintf(buf, sizeof(buf), \"%s > %s\", fmt, tpath);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\ncc1: all warnings being treated as errors\r\nmake: *** [Makefile:12: man.o] Error 1\r\njizvash@localhost:~/openbsd-man$ \r\n```","distinct":true,"url":"https://api.github.com/repos/protonesso/openbsd-man/commits/248d815fe9ab445a95032d70cd7b88cef4fe969e"}]}
{"actor":{"display_login":"protonesso"}}