FreeBSD Bugzilla – Attachment 3339 Details for
Bug 9250
[PATCH] allow fetch to do ftp directory listings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.32 KB, created by
Craig Leres
on 1998-12-31 00:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Craig Leres
Created:
1998-12-31 00:50:01 UTC
Size:
1.32 KB
patch
obsolete
>diff -c -r1.1 ftpio.c >*** /tmp/,RCSt1Wb3719 Wed Dec 30 16:35:42 1998 >--- ftpio.c Thu Dec 17 19:31:40 1998 >*************** >*** 258,264 **** > if (ftpBinary(fp) != SUCCESS) > return NULL; > >! if (ftp_file_op(ftp, "RETR", file, &fp2, "r", seekto) == SUCCESS) > return fp2; > return NULL; > } >--- 258,265 ---- > if (ftpBinary(fp) != SUCCESS) > return NULL; > >! if (ftp_file_op(ftp, *file != '\0' ? "RETR" : "LIST", file, >! &fp2, "r", seekto) == SUCCESS) > return fp2; > return NULL; > } >*************** >*** 800,806 **** > return i; > } > } >! i = cmd(ftp, "%s %s", operation, file); > if (i < 0 || i > 299) { > close(s); > ftp->error = i; >--- 801,810 ---- > return i; > } > } >! if (*file != '\0') >! i = cmd(ftp, "%s %s", operation, file); >! else >! i = cmd(ftp, "%s", operation); > if (i < 0 || i > 299) { > close(s); > ftp->error = i; >*************** >*** 846,852 **** > else if (i != 350) > *seekto = (off_t)0; > } >! i = cmd(ftp, "%s %s", operation, file); > if (i < 0 || i > 299) { > close(s); > ftp->error = i; >--- 850,859 ---- > else if (i != 350) > *seekto = (off_t)0; > } >! if (*file != '\0') >! i = cmd(ftp, "%s %s", operation, file); >! else >! i = cmd(ftp, "%s", operation); > if (i < 0 || i > 299) { > close(s); > ftp->error = i;
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 9250
: 3339 |
3340