Commit 516f7fca authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(tar-octal-time): Fix last change.

parent 515ced27
2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
* tar-mode.el (tar-octal-time): Fix last change.
2002-05-18 Markus Rost <rost@math.ohio-state.edu>
* mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
......
......@@ -1092,12 +1092,12 @@ for this to be permanent."
(defun tar-octal-time (timeval)
;; Format a timestamp as 11 octal digits. Ghod, I hope this works...
(let ((hibits (car timeval)) (lobits (car (cdr timeval))))
(insert (format "%05o%01o%05o"
(lsh hibits -2)
(logior (lsh (logand 3 hibits) 1)
(if (> (logand lobits 32768) 0) 1 0))
(logand 32767 lobits)
))))
(format "%05o%01o%05o"
(lsh hibits -2)
(logior (lsh (logand 3 hibits) 1)
(if (> (logand lobits 32768) 0) 1 0))
(logand 32767 lobits)
)))
(defun tar-subfile-save-buffer ()
"In tar subfile mode, save this buffer into its parent tar-file buffer.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment