Bugzilla – Attachment 319 Details for
Bug 581
SFTP "ls" listings never end
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the problem
sftp-server-patch.txt (text/plain), 726 bytes, created by
Lawrence D'Oliveiro
on 2003-06-04 07:24:57 AEST
(
hide
)
Description:
Fixes the problem
Filename:
MIME Type:
Creator:
Lawrence D'Oliveiro
Created:
2003-06-04 07:24:57 AEST
Size:
726 bytes
patch
obsolete
>24,32d23 >< >< /* >< Modified 2003 May 30 by Lawrence D'Oliveiro, ldo@geek-central.gen.nz: >< quick hack to get around problem doing directory listings on >< NFS-mounted volumes under Tru64 UNIX 5.1 where, after readdir >< returns NULL to indicate the end of the listing, if it is called >< again, it starts returning the directory listing from the >< beginning. >< */ >141d131 >< int EndReached; /* LDO */ >700d689 >< handles[handle].EndReached = 0; /* LDO */ >734,743c723 >< for (;;) /* LDO */ >< { >< if (handles[handle].EndReached) >< break; >< dp = readdir(dirp); >< if (dp == NULL) >< { >< handles[handle].EndReached = 1; >< break; >< } /*if*/ >--- >> while ((dp = readdir(dirp)) != NULL) {
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 581
: 319 |
320