Bugzilla – Attachment 1404 Details for
Bug 1409
Mac OS X support for Extended Attributes with scp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Preserve Extended Attribute mtime.
DVG-4648874_preserve_EA_mtime.patch (text/plain), 491 bytes, created by
Disco Vince Giffin
on 2007-12-21 15:10:17 AEDT
(
hide
)
Description:
Preserve Extended Attribute mtime.
Filename:
MIME Type:
Creator:
Disco Vince Giffin
Created:
2007-12-21 15:10:17 AEDT
Size:
491 bytes
patch
obsolete
>diff -uNr ../openssh-4.5p1.orig/scp.c ./scp.c >--- ../openssh-4.5p1.orig/scp.c 2006-12-12 13:08:35.000000000 -0800 >+++ ./scp.c 2006-12-12 15:53:57.000000000 -0800 >@@ -1163,6 +1163,14 @@ > rename(md_src, md_dst); > } else > unlink(md_src); >+ if (setimes && wrerr == NO) { >+ setimes = 0; >+ if (utimes(md_dst, tv) < 0) { >+ run_err("%s: set times: %s", >+ np, strerror(errno)); >+ wrerr = DISPLAYED; >+ } >+ } > } else > #endif > if (setimes && wrerr == NO) {
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 1409
:
1403
| 1404