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 #ifndef WIN32
if (haveDir) if (haveDir)
fclose(in); fclose(in);
else if ((rval=pclose(in))!=0) { else if ((rval=Pclose(in))!=0) {
if (xkbDebugFlags) if (xkbDebugFlags)
ErrorF("xkbcomp returned exit code %d\n",rval); ErrorF("xkbcomp returned exit code %d\n",rval);
} }