]> git.ipfire.org Git - thirdparty/vala.git/commit
posix: Add CommandPipe as a sub-type of FILE
authorAlistair Thomas <astavale@yahoo.co.uk>
Mon, 25 Jun 2018 09:06:10 +0000 (10:06 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 21 Nov 2018 09:03:59 +0000 (10:03 +0100)
commitc9604b47adf545c431be866d833bb7167a3b6f1e
tree008af3c1e6eaee1f940ba4ccc7b4ac34cf95a9d1
parent6c3f04b1fc680d92f95850db3036f01b53cd8a75
posix: Add CommandPipe as a sub-type of FILE

A FILE opened with popen() should be closed with pclose()
This is enabled by adding CommandPipe as a sub-class of FILE

Fixes https://gitlab.gnome.org/GNOME/vala/issues/645
tests/Makefile.am
tests/posix/file-commandpipe.vala [new file with mode: 0644]
vapi/posix.vapi