summaryrefslogtreecommitdiff
blob: 37c35c0978a12712bfa909992b4616974104cbd0 (plain)
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
--- lsh-1.4.3/src/sftp/sftp_c.c.orig	2004-07-11 16:33:04.488647128 -0400
+++ lsh-1.4.3/src/sftp/sftp_c.c	2004-07-11 16:33:29.583832080 -0400
@@ -1096,9 +1096,10 @@
   int ret;
   int write_needed = 0;
   UINT32 i;
+  struct sftp_callback *pos = state;
 
   /* FIXME: state is const */
-  state->mem.used = 0;
+  pos->mem.used = 0;
 
   sftp_get_mem_main(next, msg, id, in, out, state );
 
--- lsh-1.4.3/src/argp/argp.h.orig	2004-11-21 18:26:53.256585824 -0500
+++ lsh-1.4.3/src/argp/argp.h	2004-11-21 18:27:08.438277856 -0500
@@ -554,13 +554,13 @@
 # endif
 
 ARGP_EI void
-__argp_usage (__const struct argp_state *__state) __THROW
+__argp_usage (__const struct argp_state *__state)
 {
   __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
 }
 
 ARGP_EI int
-__option_is_short (__const struct argp_option *__opt) __THROW
+__option_is_short (__const struct argp_option *__opt)
 {
   if (__opt->flags & OPTION_DOC)
     return 0;
@@ -572,7 +572,7 @@
 }
 
 ARGP_EI int
-__option_is_end (__const struct argp_option *__opt) __THROW
+__option_is_end (__const struct argp_option *__opt)
 {
   return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
 }
--- lsh-1.4.3/src/argp/argp-parse.c.orig	2004-11-21 18:27:21.137347304 -0500
+++ lsh-1.4.3/src/argp/argp-parse.c	2004-11-21 18:27:38.008782456 -0500
@@ -1267,13 +1267,13 @@
 /* Defined here, in case a user is not inlining the definitions in
  * argp.h */
 void
-__argp_usage (__const struct argp_state *__state) __THROW
+__argp_usage (__const struct argp_state *__state)
 {
   __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
 }
 
 int
-__option_is_short (__const struct argp_option *__opt) __THROW
+__option_is_short (__const struct argp_option *__opt)
 {
   if (__opt->flags & OPTION_DOC)
     return 0;
@@ -1287,7 +1287,7 @@
 }
 
 int
-__option_is_end (__const struct argp_option *__opt) __THROW
+__option_is_end (__const struct argp_option *__opt)
 {
   return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
 }