File: c%2B%2B-20.patch

package info (click to toggle)
libdap 3.21.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,252 kB
  • sloc: cpp: 46,310; sh: 44,047; xml: 23,535; ansic: 19,973; yacc: 2,505; exp: 1,544; makefile: 581; lex: 309; fortran: 8
file content (79 lines) | stat: -rw-r--r-- 3,080 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Description: Drop dynamic exceptions for c++-20
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101233
Last-Updated: 2025-03-26
Forwarded: no

Index: libdap-3.21.1/HTTPConnect.cc
===================================================================
--- libdap-3.21.1.orig/HTTPConnect.cc
+++ libdap-3.21.1/HTTPConnect.cc
@@ -720,7 +720,7 @@ valid_temp_directory:
     @return The name of the temporary file.
     @exception InternalErr thrown if the FILE* could not be opened. */
 
-string get_temp_file(FILE *&stream) throw(Error) {
+string get_temp_file(FILE *&stream)  {
     string dods_temp = get_tempfile_template((string) "dodsXXXXXX");
 
     vector<char> pathname(dods_temp.length() + 1);
Index: libdap-3.21.1/das.yy
===================================================================
--- libdap-3.21.1.orig/das.yy
+++ libdap-3.21.1/das.yy
@@ -111,9 +111,9 @@ typedef int checker(const char *);
 int daslex(void);
 static void daserror(parser_arg *arg, const string &s /*char *s*/);
 static void add_attribute(const string &type, const string &name, 
-			  const string &value, checker *chk) throw (Error);
+			  const string &value, checker *chk);
 static void add_alias(AttrTable *das, AttrTable *current, const string &name, 
-		      const string &src) throw (Error);
+		      const string &src);
 static void add_bad_attribute(AttrTable *attr, const string &type,
 			      const string &name, const string &value,
 			      const string &msg);
@@ -461,7 +461,7 @@ a_or_an(const string &subject)
 // `explanation.' 
 static void
 add_attribute(const string &type, const string &name, const string &value,
-	      checker *chk) throw (Error)
+	      checker *chk)
 {
     DBG(cerr << "Adding: " << type << " " << name << " " << value \
 	<< " to Attrtable: " << TOP_OF_STACK << endl);
@@ -490,7 +490,7 @@ add_attribute(const string &type, const
 
 static void
 add_alias(AttrTable *das, AttrTable *current, const string &name, 
-	  const string &src) throw (Error)
+	  const string &src)
 {
     DBG(cerr << "Adding an alias: " << name << ": " << src << endl);
 
Index: libdap-3.21.1/DODSFilter.cc
===================================================================
--- libdap-3.21.1.orig/DODSFilter.cc
+++ libdap-3.21.1/DODSFilter.cc
@@ -165,7 +165,7 @@ request. It is given in seconds since th
 
 @brief DODSFilter constructor. */
 
-DODSFilter::DODSFilter(int argc, char *argv[]) throw(Error) {
+DODSFilter::DODSFilter(int argc, char *argv[]) {
     initialize(argc, argv);
 
     DBG(cerr << "d_comp: " << d_comp << endl);
Index: libdap-3.21.1/DODSFilter.h
===================================================================
--- libdap-3.21.1.orig/DODSFilter.h
+++ libdap-3.21.1/DODSFilter.h
@@ -125,7 +125,7 @@ public:
         this class contains. They can currently only be set using the
         argc/argv command line parameters. */
     DODSFilter() { initialize(); }
-    DODSFilter(int argc, char *argv[]) throw(Error);
+    DODSFilter(int argc, char *argv[]);
 
     virtual ~DODSFilter();