~ubuntu-branches/ubuntu/natty/lftp/natty

« back to all changes in this revision

Viewing changes to src/FindJob.cc

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2006-06-05 13:17:03 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060605131703-q5ehgd52jmyn6crf
Tags: 3.4.7-1
* new upstream release from 2006-05-18
* updated Standards-Version to 3.7.2
* tls glibc double-free problem fixed since 3.4.x
  (closes: Bug#326914)
* gnutls handshake problem fixed since 3.4.x
  (closes: Bug#327643)
* segfault problem fixed (closes: Bug#336408)
* using gnutls 1.3 (closes: Bug#369197)
* made lftp-config-dns-inet6_before_inet patch nicer

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
19
 */
20
20
 
21
 
/* $Id: FindJob.cc,v 1.36 2005/08/03 07:12:45 lav Exp $ */
 
21
/* $Id: FindJob.cc,v 1.37 2006/03/15 11:16:08 lav Exp $ */
22
22
 
23
23
#include <config.h>
24
24
#include <assert.h>
137
137
            return MOVED;
138
138
         }
139
139
      }
 
140
 
 
141
      state=PROCESSING;
 
142
      m=MOVED;
 
143
   case PROCESSING:
140
144
      pres=ProcessFile(top.path,top.fset->curr());
141
145
 
142
146
      if(pres==PRF_LATER)
149
153
      case(PRF_FATAL):
150
154
         errors++;
151
155
         state=DONE;
152
 
         m=MOVED;
153
 
         return m;
 
156
         return MOVED;
154
157
      case(PRF_ERR):
155
158
         errors++;
156
159
         break;
163
166
         abort();
164
167
      }
165
168
   post_WAIT:
 
169
      state=LOOP;
 
170
      m=MOVED;
166
171
      if(stack_ptr==-1)
167
172
         return m;
168
173
      if(!depth_first && (maxdepth == -1 || stack_ptr+1 < maxdepth))
184
189
         return m;
185
190
      RemoveWaiting(j);
186
191
      Delete(j);
187
 
      state=LOOP;
188
 
      m=MOVED;
189
192
      goto post_WAIT;
190
193
 
191
194
   case DONE: