Commits

Anonymous committed d3c59b8

Error handling fix as per:
<y9lya0ilymb.fsf@sams.informatik.uni-tuebingen.de>
on xemacs-patches.

Comments (0)

Files changed (2)

+2000-07-16  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
+
+	* efs.el (efs-ls): Proper `noerror' handling for CWD.
+
 2000-03-27  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
 
 	* RELEASE: 1.19
 ;;
 ;; File:         efs.el
 ;; Release:      $efs release: 1.19 $
-;; Version:      #Revision: 1.61 $
+;; Version:      $Revision$
 ;; RCS:          
 ;; Description:  Transparent FTP support for the original GNU Emacs
 ;;               from FSF and XEmacs
 (defconst efs-version
   (concat (substring "$efs release: 1.19 $" 14 -2)
 	  "/"
-	  (substring "#Revision: 1.57 $" 11 -2)))
+	  (substring "$Revision$" 11 -2)))
 
 (defconst efs-time-zero 1970) ; we count time from midnight, Jan 1, 1970 GMT.
 
 			      switches file lsargs noparse parse noerror
 			      msg nowait cont)
 		 (if result
-		     (efs-error host user (format "CWD %s failed: " line))
+		     (if noerror
+			 (if cont
+			     (efs-call-cont cont nil))
+		       (efs-error host user (format "CWD %s failed: " line)))
 		   (efs-send-cmd
 		    host user
 		    (list (if nlist 'nlist 'dir) "" (cdr temp) lsargs)