Close with Pclose() that which we open with Popen().

This commit is contained in:
Adam Jackson 2006-09-21 20:42:47 -04:00
parent c1655f0fd4
commit ce78b0cd2b

View File

@ -269,7 +269,7 @@ char tmpname[PATH_MAX];
#ifndef WIN32
if (haveDir)
fclose(in);
else if ((rval=pclose(in))!=0) {
else if ((rval=Pclose(in))!=0) {
if (xkbDebugFlags)
ErrorF("xkbcomp returned exit code %d\n",rval);
}