1 Nov
2002
1 Nov
'02
3:29 p.m.
On Fri, Nov 01, 2002 at 03:16:58PM +0200, Jaco Greeff wrote:
+/* FIXME: Don't know what this value should be, 10 seems enough as + * the maximum number of simultaneous _popen'ed processes + */ #define POPEN_MAX_FILES 10 ... +INT POPEN_getOpenFileSlotPos(VOID) +{ + INT i = 0; + for (i = 0; i < POPEN_MAX_FILES; i++) + { + if (!POPEN_Files[i].fProcess) + { + POPEN_Files[i].fProcess = (MSVCRT_FILE *)POPEN_FILE_IN_USE; + return i; + } + } Please output an ERR here to ask people to report that POPEN_MAX_FILES needs to be increased. + return -1;
8445
Age (days ago)
8445
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jaco Greeff -
Joerg Mayer