author | Chris Lamb
<lamby@debian.org> 2018-10-25 03:14:48 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2018-10-26 07:31:16 UTC |
parent | 928666ad009c70ce52cfcda71ff222f9b148b86c |
preload/posix/generate | +1 | -0 |
diff --git a/preload/posix/generate b/preload/posix/generate index 0b073e4..7a6fc03 100755 --- a/preload/posix/generate +++ b/preload/posix/generate @@ -183,6 +183,7 @@ class Function: f.params_info = [ (x, y) if x != "const fpos_t *" else ("const fpos64_t *", y) for (x, y) in f.params_info] + f.ret_type = f.ret_type.replace("off_t", "off64_t") # This is glibc-specific, so surround it with #ifdefs. return [Verbatim("#ifdef __GLIBC__"), f, Verbatim("#endif")]