Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 128827 Details for
Bug 189627
app-editors/emacs-22.1 hangs while saving if it lacks permission to remove backup
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
emacs-22.1-backup-buffer.patch
emacs-22.1-backup-buffer.patch (text/plain), 622 bytes, created by
Ulrich Müller
on 2007-08-22 05:00:26 UTC
(
hide
)
Description:
emacs-22.1-backup-buffer.patch
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2007-08-22 05:00:26 UTC
Size:
622 bytes
patch
obsolete
>--- lisp/files.el 8 Aug 2007 14:06:01 -0000 1.896.2.15 >+++ lisp/files.el 22 Aug 2007 03:47:35 -0000 1.896.2.16 >@@ -3120,7 +3120,12 @@ > (file-error nil)))))) > > (defun backup-buffer-copy (from-name to-name modes) >- (let ((umask (default-file-modes))) >+ (let ((umask (default-file-modes)) >+ (dir (or (file-name-directory to-name) >+ default-directory))) >+ ;; Can't delete or create files in a read-only directory. >+ (unless (file-writable-p dir) >+ (signal 'file-error (list "Directory is not writable" dir))) > (unwind-protect > (progn > ;; Create temp files with strict access rights. It's easy to
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189627
:
128715
|
128742
|
128764
|
128827