Hi, Another trivial (IMO) patch. What was opened by ``popen'', needs closing by ``pclose''.
ChangeLog-entry: 2004-09-29 Bas van Gompel <[EMAIL PROTECTED]> * cygcheck.cc (pretty_id): Close pipe. --- src/winsup/utils/cygcheck.cc 21 Mar 2004 17:58:14 -0000 1.43 +++ src/winsup/utils/cygcheck.cc 28 Sep 2004 20:42:32 -0000 @@ -793,6 +793,7 @@ pretty_id (const char *s, char *cygwin, static char empty[] = ""; buf[0] = '\0'; fgets (buf, sizeof (buf), f); + pclose(f); char *uid = strtok (buf, ")"); if (uid) uid += strlen ("uid="); L8r. Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | / / really is | and false bits entirely. | mail for ) | | / / a 72 by 4 +-------------------------------+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re