You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2005/07/03 05:55:01 UTC
svn commit: r208880 - /apr/apr/branches/1.1.x/threadproc/os2/proc.c
Author: bjh
Date: Sat Jul 2 20:54:59 2005
New Revision: 208880
URL: http://svn.apache.org/viewcvs?rev=208880&view=rev
Log:
OS/2: Fix crash in apr_proc_create with non-shell type process creation where
the .exe extension is not given. Was trying to close an apr_file_t that had
failed to open, causing a segfault.
Backport from trunk of r208879
Modified:
apr/apr/branches/1.1.x/threadproc/os2/proc.c
Modified: apr/apr/branches/1.1.x/threadproc/os2/proc.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.1.x/threadproc/os2/proc.c?rev=208880&r1=208879&r2=208880&view=diff
==============================================================================
--- apr/apr/branches/1.1.x/threadproc/os2/proc.c (original)
+++ apr/apr/branches/1.1.x/threadproc/os2/proc.c Sat Jul 2 20:54:59 2005
@@ -375,8 +375,9 @@
interpreter[0] = 0;
}
}
+
+ apr_file_close(progfile);
}
- apr_file_close(progfile);
}
i = 0;