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

(cherry picked from ce78b0cd2b commit)
This commit is contained in:
Adam Jackson 2006-09-21 20:42:47 -04:00
parent b84fb534fb
commit c559940c10

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);
}