The Samba-Bugzilla – Attachment 14205 Details for
Bug 13445
Fuzzy searching in link-dest tries to open regular file as directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to handle ENOTDIR in flist.c:send_directory()
flist.patch (text/plain), 616 bytes, created by
Einhard Leichtfuß
on 2018-05-18 20:18:51 UTC
(
hide
)
Description:
Patch to handle ENOTDIR in flist.c:send_directory()
Filename:
MIME Type:
Creator:
Einhard Leichtfuß
Created:
2018-05-18 20:18:51 UTC
Size:
616 bytes
patch
obsolete
>--- flist.c.orig 2018-01-15 04:55:07.000000000 +0100 >+++ flist.c 2018-05-18 22:09:16.955006807 +0200 >@@ -1700,12 +1700,16 @@ > if (!(d = opendir(fbuf))) { > if (errno == ENOENT) { > if (am_sender) /* Can abuse this for vanished error w/ENOENT: */ > interpret_stat_error(fbuf, True); > return; > } >+ /* Fuzzy matching in a link-dest or other *-dest directory >+ * may cause a regular file to be assumed a directory. */ >+ if (errno == ENOTDIR && !am_sender) >+ return; > io_error |= IOERR_GENERAL; > rsyserr(FERROR_XFER, errno, "opendir %s failed", full_fname(fbuf)); > return; > } > > p = fbuf + len;
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 Raw
Actions:
View
Attachments on
bug 13445
: 14205 |
14231