Bugzilla – Attachment 1459 Details for
Bug 1447
sftp-server rename fails when EXDEV is returned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix rename
sftp-rename (text/plain), 428 bytes, created by
Mike Garrison
on 2008-03-06 03:30:22 AEDT
(
hide
)
Description:
fix rename
Filename:
MIME Type:
Creator:
Mike Garrison
Created:
2008-03-06 03:30:22 AEDT
Size:
428 bytes
patch
obsolete
>--- openssh-4.7p1-orig/sftp-server.c 2007-05-20 01:09:05.000000000 -0400 >+++ openssh-4.7p1/sftp-server.c 2008-03-05 11:15:33.000000000 -0500 >@@ -989,7 +989,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 = EXDEV > #ifdef LINK_OPNOTSUPP_ERRNO > || errno == LINK_OPNOTSUPP_ERRNO > #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 1447
:
1459
|
1460