* external.cc: Move pids declaration to file scope and use less enthusiastic
constructor. * pinfo.h (winpids::winpids): Remove default setting. * fhandler_fifo.cc (fhandler_fifo::open_not_mine): Accommodate removal of default setting. * fhandler_proc.cc (fhandler_proc::readdir): Ditto.
This commit is contained in:
@@ -200,7 +200,7 @@ fhandler_proc::readdir (DIR * dir)
|
||||
{
|
||||
if (dir->__d_position >= PROC_LINK_COUNT)
|
||||
{
|
||||
winpids pids;
|
||||
winpids pids ((DWORD) 0);
|
||||
int found = 0;
|
||||
for (unsigned i = 0; i < pids.npids; i++)
|
||||
if (found++ == dir->__d_position - PROC_LINK_COUNT)
|
||||
|
Reference in New Issue
Block a user