Bugzilla – Attachment 1578 Details for
Bug 1535
rename doesn't fall back to rename syscall upon ENOSYS of link syscall
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fall back to rename() upon ENOSYS errorcode.
openssh-5.1p1.patch (text/plain), 473 bytes, created by
Johan Kielbaey
on 2008-11-07 08:38:43 AEDT
(
hide
)
Description:
Patch fall back to rename() upon ENOSYS errorcode.
Filename:
MIME Type:
Creator:
Johan Kielbaey
Created:
2008-11-07 08:38:43 AEDT
Size:
473 bytes
patch
obsolete
>diff -Naur openssh-5.1p1/sftp-server.c openssh-5.1p1.new/sftp-server.c >--- openssh-5.1p1/sftp-server.c 2008-07-04 06:10:19.000000000 +0200 >+++ openssh-5.1p1.new/sftp-server.c 2008-11-04 22:51:07.000000000 +0100 >@@ -1041,7 +1041,7 @@ > else if (S_ISREG(sb.st_mode)) { > /* Race-free rename of regular files */ > if (link(oldpath, newpath) == -1) { >- if (errno == EOPNOTSUPP >+ if (errno == EOPNOTSUPP || errno == ENOSYS > #ifdef EXDEV > || errno == EXDEV > #endif
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 1535
: 1578