openbsd-ports/textproc/sp/patches/patch-ae
1999-10-31 10:11:11 +00:00

35 lines
698 B
Plaintext

--- lib/CmdLineApp.cxx.orig Sun Oct 31 04:58:39 1999
+++ lib/CmdLineApp.cxx Sun Oct 31 05:01:11 1999
@@ -188,9 +188,6 @@
int CmdLineApp::run(int argc, AppChar **argv)
{
-#ifdef SP_ANSI_LIB
- try {
-#endif
int ret = init(argc, argv);
if (ret)
return ret;
@@ -201,21 +198,6 @@
ret = processArguments(argc - firstArg, argv + firstArg);
progName = 0;
return ret;
-#ifdef SP_ANSI_LIB
- }
-catch (
-#ifndef SP_NO_STD_NAMESPACE
- std::
-#endif
- bad_alloc) {
-#ifdef SP_FANCY_NEW_HANDLER
- outOfMemory(0);
-#else
- outOfMemory();
-#endif
- }
- return 1;
-#endif /* SP_ANSI_LIB */
}
int CmdLineApp::processOptions(int argc, AppChar **argv, int &nextArg)