See patch.
>From cc22d0438465eb8d099acba27d3c4f6e382c920d Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Mon, 19 Nov 2012 16:29:10 +0100
Subject: [PATCH] pclose() -> fclose()

We're not doing anything with the exit status anyway, and waiting for the
shell to terminate sometimes hangs dtfile, at least on OpenBSD.
---
 cde/programs/dtfile/SharedProcs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cde/programs/dtfile/SharedProcs.c 
b/cde/programs/dtfile/SharedProcs.c
index 7ec4645..bc70c6a 100644
--- a/cde/programs/dtfile/SharedProcs.c
+++ b/cde/programs/dtfile/SharedProcs.c
@@ -1656,7 +1656,7 @@ _DtPathFromInput(
              command[strlen(command)-1] = '\0';
              XtFree(path);
              path = XtNewString(command);
-             pclose(pfp);
+             fclose(pfp);
         }
       }
    }
-- 
1.7.6

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to