Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 7445888659893398b01d014bc633b458 > files > 13

ksh-20100621-18.el5.src.rpm

diff -up ksh-20100202/src/cmd/ksh93/sh/path.c.original ksh-20100202/src/cmd/ksh93/sh/path.c
--- ksh-20100202/src/cmd/ksh93/sh/path.c.original	2010-10-13 15:35:22.000000000 +0900
+++ ksh-20100202/src/cmd/ksh93/sh/path.c	2010-10-13 15:35:55.000000000 +0900
@@ -734,6 +734,7 @@ int	path_search(register const char *nam
 				return(1);
 			}
 			funload(shp,fno,name);
+			sh_close(fno);
 			return(1);
 		}
 		*stakptr(PATH_OFFSET) = 0;