Author: bjh Date: Sat Jul 2 21:00:59 2005 New Revision: 208883 URL: http://svn.apache.org/viewcvs?rev=208883&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/0.9.x/threadproc/os2/proc.c Modified: apr/apr/branches/0.9.x/threadproc/os2/proc.c URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/threadproc/os2/proc.c?rev=208883&r1=208882&r2=208883&view=diff ============================================================================== --- apr/apr/branches/0.9.x/threadproc/os2/proc.c (original) +++ apr/apr/branches/0.9.x/threadproc/os2/proc.c Sat Jul 2 21:00:59 2005 @@ -368,8 +368,9 @@ interpreter[0] = 0; } } + + apr_file_close(progfile); } - apr_file_close(progfile); } i = 0;