* cygcheck.cc (pretty_id): Close pipe.
This commit is contained in:
parent
e49bc789b2
commit
a5aa8c3e3a
|
@ -1,3 +1,7 @@
|
|||
2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||
|
||||
* cygcheck.cc (pretty_id): Close pipe.
|
||||
|
||||
2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||
|
||||
* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
|
||||
|
|
|
@ -791,6 +791,7 @@ pretty_id (const char *s, char *cygwin, size_t cyglen)
|
|||
static char empty[] = "";
|
||||
buf[0] = '\0';
|
||||
fgets (buf, sizeof (buf), f);
|
||||
pclose (f);
|
||||
char *uid = strtok (buf, ")");
|
||||
if (uid)
|
||||
uid += strlen ("uid=");
|
||||
|
|
Loading…
Reference in New Issue