Skip to content
Snippets Groups Projects
Commit c66a7d84 authored by Alexander Turenko's avatar Alexander Turenko Committed by Kirill Yukhin
Browse files

popen: fix popen_write_timeout retval type


On Linux x86_64 `ssize_t` is 64 bit, while `int` is 32 bit wide (at
least typically). Let's return `ssize_t` from popen_write_timeout() to
prevent data loss.

Part of #4031

Reported-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent e164d95e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment