diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-21 07:03:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-21 07:03:12 +0000 |
commit | 936b61d4acffc632608d1c1990b02e6a791107d0 (patch) | |
tree | 3355deab437a20fbbed44823a6ac2e099c0d8662 /file.c | |
parent | 32f3961fd687d1096f444d09c78d7dcd247649d1 (diff) |
Path for AT_EMPTY_PATH must not be NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1165,7 +1165,7 @@ statx_without_gvl(const char *path, struct statx *stx, unsigned int mask) static int fstatx_without_gvl(int fd, struct statx *stx, unsigned int mask) { - no_gvl_statx_data data = {stx, fd, NULL, AT_EMPTY_PATH, mask}; + no_gvl_statx_data data = {stx, fd, "", AT_EMPTY_PATH, mask}; /* call statx(2) with fd */ return (int)rb_thread_io_blocking_region(io_blocking_statx, &data, fd); |