components/stdcxx/patches/027-exception.h.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Tue, 25 Mar 2014 10:51:42 +0100
branchs11u1-sru
changeset 3011 9265805e77d5
parent 402 94ae4d75524c
permissions -rw-r--r--
17851169 ksh93 core dump in sh_assignok() function

--- stdcxx-4.2.1/include/exception.h	2009-06-08 10:13:00.142092000 -0400
+++ stdcxx-4.2.1/include/exception.h	2007-05-03 05:51:01.000000000 -0400
@@ -0,0 +1,29 @@
+/*
+        Copyright 07/02/98 Sun Microsystems, Inc. All Rights Reserved
+*/
+/* exception.h
+
+   @(#)exception.h	1.2  07/02/98 11:32:35
+
+   Compatibility declaration for ISO standard exception interface
+*/
+
+#ifndef EXCEPTION_H
+#define EXCEPTION_H
+
+#include <exception>
+#include <new>
+
+using std::exception;
+using std::bad_exception;
+using std::set_unexpected;
+using std::unexpected;
+using std::set_terminate;
+using std::terminate;
+
+typedef std::exception xmsg;
+typedef std::bad_exception xunexpected;
+
+typedef std::bad_alloc xalloc;
+
+#endif