7048937 python should not die from SIGABRT when user passes bogus fd to os.fstat
authorBart Smaalders <Bart.Smaalders@Oracle.COM>
Wed, 01 Jun 2011 08:08:36 -0700
changeset 276 18dcd0ca5b0c
parent 275 e703835db76d
child 277 12ebd29ad46c
7048937 python should not die from SIGABRT when user passes bogus fd to os.fstat
components/python/python26/patches/Python26-19-ext-stdio.patch
--- a/components/python/python26/patches/Python26-19-ext-stdio.patch	Wed Jun 01 05:52:48 2011 -0700
+++ b/components/python/python26/patches/Python26-19-ext-stdio.patch	Wed Jun 01 08:08:36 2011 -0700
@@ -26,7 +26,7 @@
 +	(void) getrlimit(RLIMIT_NOFILE, &rlp);
 +	rlp.rlim_cur = rlp.rlim_max;
 +	if (setrlimit(RLIMIT_NOFILE, &rlp) != -1) {
-+		enable_extended_FILE_stdio(-1, SIGABRT);
++		enable_extended_FILE_stdio(-1, 0);
 +	}
 +#endif
 +