1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-06-10 13:36:02 +02:00
Gemini client
Go to file
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
doc Add 'd' to download page 2020-10-21 10:12:51 -04:00
include Re-add public headers 2020-10-24 13:56:50 -04:00
src gmnlm: fix a few strncpy compile errors on gcc 9.3 2020-11-17 09:30:56 -05:00
.gitignore Re-add public headers 2020-10-24 13:56:50 -04:00
COPYING Initial commit 2020-09-20 10:17:39 -04:00
Makefile Remove -D option from install commands 2020-11-06 10:05:43 -05:00
README.md Update README.md 2020-09-20 23:52:18 -04:00
config.sh Remove -D option from install commands 2020-11-06 10:05:43 -05:00
configure Add static library for gmni 2020-10-24 13:41:07 -04:00

gmni - A Gemini client

This is a Gemini client. Included are:

Dependencies:

  • A POSIX-like system and a C11 compiler
  • OpenSSL
  • scdoc (optional)

Features:

  • Page history
  • Regex searches
  • Bookmarks

Screenshot of the line-mode browser

Compiling

$ mkdir build && cd build
$ ../configure
$ make
# make install

Usage

See gmni(1), gmnlm(1).