FreeBSD Bugzilla – Attachment 345 Details for
Bug 1557
pkg_add's auto dependency get .. doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 985 bytes, created by
David Leonard
on 1996-08-31 08:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
David Leonard
Created:
1996-08-31 08:10:01 UTC
Size:
985 bytes
patch
obsolete
>Index: ftpio.c >=================================================================== >RCS file: /home/leonard/cvsroot/freebsd/src/lib/libftpio/ftpio.c,v >retrieving revision 1.1.1.3 >diff -c -r1.1.1.3 ftpio.c >*** ftpio.c 1996/08/30 17:35:30 1.1.1.3 >--- ftpio.c 1996/08/31 06:49:51 >*************** >*** 292,304 **** > { > char host[255], name[255]; > int port; >! static FILE *fp = NULL; > FILE *fp2; > > if (fp) { /* Close previous managed connection */ > fclose(fp); > fp = NULL; > } > if (get_url_info(url, host, &port, name) == SUCCESS) { > fp = ftpLogin(host, user, passwd, port, 0); > if (fp) { >--- 292,307 ---- > { > char host[255], name[255]; > int port; >! /* static */ FILE *fp = NULL; > FILE *fp2; > >+ #if 0 > if (fp) { /* Close previous managed connection */ > fclose(fp); > fp = NULL; > } >+ #endif >+ > if (get_url_info(url, host, &port, name) == SUCCESS) { > fp = ftpLogin(host, user, passwd, port, 0); > if (fp) {
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 1557
: 345 |
346