Berthold Stoeger a781d3a44e Cleanup: fix warning in unix.c
The compiler complained about assigning the "const char *" returned by
mb_cstring() to a "char *". The warning is correct, as the returned
buffer still belongs to the membuffer. The code only worked because
destruction of the membuffer was "forgotten".

Fix this by using the "detach_buffer()" function, which passes ownership
to the caller and accordingly returns a "char *".

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-08-14 14:13:52 -07:00
..
2018-08-14 09:09:06 -07:00
2018-08-14 09:09:06 -07:00
2018-07-18 02:09:15 +03:00
2018-07-18 02:09:15 +03:00
2017-11-25 20:13:01 +01:00
2018-07-21 07:46:44 -07:00
2018-07-21 07:46:44 -07:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2018-05-27 23:18:01 +03:00
2018-07-04 02:27:36 +08:00
2017-05-26 15:44:36 -07:00
2018-04-28 20:11:22 +03:00
2018-07-12 08:08:00 -07:00
2017-04-29 13:32:55 -07:00
2018-08-12 15:37:21 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2018-08-14 14:13:52 -07:00