lib: Extract sys_popen()
authorVolker Lendecke <vl@samba.org>
Tue, 16 Feb 2016 14:58:52 +0000 (15:58 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 23 Feb 2016 21:03:16 +0000 (22:03 +0100)
commit908df8ec136626616e9419986f09ff1bf30dbde1
treed9ed6f89799981fae62768deb4f8dc788318eb5a
parent8338fe6ac878ef8c04276229ae6e6a8edf9c3e3a
lib: Extract sys_popen()

This was added by Jeremy with 3cf31a194f5, do the (C) accordingly

sys_popen is a pretty isolated functionality, and I'd like to use it
soon without "includes.h", needed by "proto.h"

Except for one malloc->talloc this is supposed to be a 1:1 copy

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/include/proto.h
source3/lib/sys_popen.c [new file with mode: 0644]
source3/lib/sys_popen.h [new file with mode: 0644]
source3/lib/system.c
source3/lib/util_file.c
source3/wscript_build