Close with Pclose() that which we open with Popen().
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user