Commits

Anonymous committed 4826453

The Emacs 20 Lisp reader does not understand the #o syntax for octal
numbers.

Submitted by:
Patrik Hagglund <patha@softlab.ericsson.se>

References:
http://list-archive.xemacs.org/xemacs-patches/200205/msg00186.html

  • Participants
  • Parent commits a1ea09d

Comments (0)

Files changed (2)

+2002-05-24  Patrik Hagglund  <patha@softlab.ericsson.se>
+
+	* clearcase.el (clearcase-vxpath-get-version-in-buffer): Fix Emacs
+	20 compatibility buglet.
+
 2002-02-12  Michael Diers  <mdiers@elego.de>
 
-	* clearcase.el (clearcase-get-version-string): Fix version detection for Cygwin.
+	* clearcase.el (clearcase-get-version-string): Fix version
+	detection for Cygwin.
 
 2002-01-24  Steven E. Harris  <seh@speakeasy.org>
 
-	* clearcase.el (clearcase-dired-reformat-buffer): Fix path conversions for cygwin.
-	(clearcase-dired-list-checkouts): Fix newline escape for proper 'ct lsco' output.
-	(clearcase-applet-diff-file-with-version): Fix path conversions for cygwin.
+	* clearcase.el (clearcase-dired-reformat-buffer): Fix path
+	conversions for cygwin.
+	(clearcase-dired-list-checkouts): Fix newline escape for proper
+	'ct lsco' output.
+	(clearcase-applet-diff-file-with-version): Fix path conversions
+	for cygwin.
 	(clearcase-diff-file-with-version): Clean up temp. file.
 	(clearcase-diff-files): Fix path conversions for cygwin.
 

File clearcase.el

          (buffer (find-file-noselect temp-file t)))
     ;; native Windows XEmacs change:  file cannot be removed if read-only.
     (if (not (file-writable-p temp-file))
-        (set-file-modes temp-file #o666))
+        (set-file-modes temp-file (+ (lsh 6 6) (lsh 6 3) (lsh 6 0))))
     (delete-file temp-file)
     buffer))