1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-23 04:51:59 +01:00
gmni/src
William Casarin ec88f4558c gmnlm: fix a few strncpy compile errors on gcc 9.3
In file included from .../include/string.h:495,
                 from src/gmnlm.c:11:
In function ‘strncpy’,
    inlined from ‘do_prompts’ at src/gmnlm.c:627:3:
...glibc-2.31-dev/include/bits/string_fortified.h:106:10:
error: ‘__builtin_strncpy’ specified bound 1024 equals
destination size [-Werror=stringop-truncation]
return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In function ‘strncpy’,
    inlined from ‘do_prompts’ at src/gmnlm.c:612:3:
...glibc-2.31-dev/include/bits/string_fortified.h:106:10:
error: ‘__builtin_strncpy’ specified bound 1024 equals destination size
[-Werror=stringop-truncation]
return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: William Casarin <jb55@jb55.com>
2020-11-17 09:30:56 -05:00
..
client.c Fix const comparison Werror 2020-10-29 19:18:42 -04:00
escape.c Initial request riggings 2020-09-20 13:06:34 -04:00
gmni.c fix typo in PERMANENT FAILURE response 2020-11-06 10:05:43 -05:00
gmnlm.c gmnlm: fix a few strncpy compile errors on gcc 9.3 2020-11-17 09:30:56 -05:00
parser.c Add static library for gmni 2020-10-24 13:41:07 -04:00
tofu.c Add static library for gmni 2020-10-24 13:41:07 -04:00
url.c Add static library for gmni 2020-10-24 13:41:07 -04:00
util.c Simplify posix_dirname logic 2020-11-17 09:30:56 -05:00