The Samba-Bugzilla – Attachment 1392 Details for
Bug 3010
samba-3.0.14a & samba-3.0.20pre2 endless loop AIX 5.3 (jfs2) & Win98
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch.
look (text/plain), 917 bytes, created by
Jeremy Allison
on 2005-08-21 14:09:55 UTC
(
hide
)
Description:
Proposed patch.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2005-08-21 14:09:55 UTC
Size:
917 bytes
patch
obsolete
>Index: smbd/dir.c >=================================================================== >--- smbd/dir.c (revision 9455) >+++ smbd/dir.c (working copy) >@@ -1100,6 +1100,9 @@ > } > dirp->file_number++; > return n; >+ } else if (*poffset == END_OF_DIRECTORY_OFFSET) { >+ *poffset = dirp->offset = END_OF_DIRECTORY_OFFSET; >+ return NULL; > } else { > /* A real offset, seek to it. */ > SeekDir(dirp, *poffset); >@@ -1122,7 +1125,7 @@ > dirp->file_number++; > return e->name; > } >- dirp->offset = END_OF_DIRECTORY_OFFSET; >+ *poffset = dirp->offset = END_OF_DIRECTORY_OFFSET; > return NULL; > } > >@@ -1147,6 +1150,8 @@ > if (offset != dirp->offset) { > if (offset == START_OF_DIRECTORY_OFFSET || offset == DOT_DOT_DIRECTORY_OFFSET) { > RewindDir(dirp, &offset); >+ } else if (offset == END_OF_DIRECTORY_OFFSET) { >+ ; /* Don't seek in this case. */ > } else { > SMB_VFS_SEEKDIR(dirp->conn, dirp->dir, offset); > }
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 3010
:
1384
|
1386
|
1388
|
1391
| 1392 |
1459