]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
command: Discard FD_SETSIZE limit for opened files
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jan 2012 10:29:07 +0000 (11:29 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Jan 2012 08:50:07 +0000 (09:50 +0100)
commitdb371a217d5461f297867daef396b78e3616002b
treee508660ce71ea29079fdc4629340ffd9e6afa994
parent49d8c8bc0cb19a9ef6a76055fa3967b7ca800c81
command: Discard FD_SETSIZE limit for opened files

Currently, virCommand implementation uses FD_ macros from
sys/select.h. However, those cannot handle more opened files
than FD_SETSIZE. Therefore switch to generalized implementation
based on array of integers.
src/util/command.c