FreeBSD Bugzilla – Attachment 3340 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), 857 bytes, 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:
857 bytes
patch
obsolete
>diff -c -r1.1 ftp.c >*** /tmp/,RCSt1gg3685 Wed Dec 30 16:35:15 1998 >--- ftp.c Thu Dec 17 19:35:44 1998 >*************** >*** 382,392 **** > (unsigned long)size); > return EX_DATAERR; > } >! modtime = ftpGetModtime(ftp, ftps->ftp_remote_file); >! if (modtime <= 0) { /* xxx */ >! warnx("%s: cannot get remote modification time", >! ftps->ftp_remote_path); > modtime = -1; > } > fs->fs_modtime = modtime; > seekloc = wehave = 0; >--- 382,396 ---- > (unsigned long)size); > return EX_DATAERR; > } >! if (*ftps->ftp_remote_file == '\0') > modtime = -1; >+ else { >+ modtime = ftpGetModtime(ftp, ftps->ftp_remote_file); >+ if (modtime <= 0) { /* xxx */ >+ warnx("%s: cannot get remote modification time", >+ ftps->ftp_remote_path); >+ modtime = -1; >+ } > } > fs->fs_modtime = modtime; > seekloc = wehave = 0;
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