diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-11-02 10:55:47 +0100 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-11-02 16:56:51 +0100 |
commit | 50b9218ce7d5e0d9ac78bb364fde5e3412feb049 (patch) | |
tree | 5c3f555aba6c5142f4e459e546a21fffd3a1f00e /x11-wm/i3/files/patch-src_config__parser.c | |
parent | textproc/lowdown: update to 0.9.2 (diff) |
x11-wm/i3: update to 4.20
Diffstat (limited to 'x11-wm/i3/files/patch-src_config__parser.c')
-rw-r--r-- | x11-wm/i3/files/patch-src_config__parser.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/i3/files/patch-src_config__parser.c b/x11-wm/i3/files/patch-src_config__parser.c new file mode 100644 index 000000000000..599675c1b0ed --- /dev/null +++ b/x11-wm/i3/files/patch-src_config__parser.c @@ -0,0 +1,11 @@ +--- src/config_parser.c.orig 2021-10-19 06:37:59 UTC ++++ src/config_parser.c +@@ -864,7 +864,7 @@ parse_file_result_t parse_file(struct parser_ctx *ctx, + FILE *fstr; + char buffer[4096], key[512], value[4096], *continuation = NULL; + +- char *old_dir = get_current_dir_name(); ++ char *old_dir = getwd(NULL); + char *dir = NULL; + /* dirname(3) might modify the buffer, so make a copy: */ + char *dirbuf = sstrdup(f); |