1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-05-19 16:36:02 +02:00
gmni/src
Giuseppe Lumia cb63b8ddf0 Fix bug on mkdirs calls
On some systems dirname uses a static string for its return value, so
we were calling mkdirs recursively on a string that was continuosly changing.

A check was also added after the `snprintf` to make sure there's no
information loss since there is no limit to the length of the string
returned by `get_data_pathfmt`.

Closes #48.
2020-11-17 10:00:53 -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 Fix bug on mkdirs calls 2020-11-17 10:00:53 -05:00
parser.c Add static library for gmni 2020-10-24 13:41:07 -04:00
tofu.c Fix bug on mkdirs calls 2020-11-17 10:00:53 -05: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