Mercurial > gftp.yaz
changeset 36:bc9473ba9a90
2002-10-07 Brian Masney <masneyb@gftp.org>
* lib/local.c - fixed file uploads
* lib/rfc959.c - fixed crash if you uploaded/downloaded a file that
you didn't have permission to
* src/gtk/transfer.c - display fixes for hostname
* autogen.sh - pass -c to automake
author | masneyb |
---|---|
date | Tue, 08 Oct 2002 02:19:46 +0000 |
parents | 9d73b3cf05a6 |
children | 5a178bd04ca5 |
files | ChangeLog TODO autogen.sh lib/local.c lib/rfc959.c src/gtk/transfer.c |
diffstat | 6 files changed, 31 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 07 18:17:08 2002 +0000 +++ b/ChangeLog Tue Oct 08 02:19:46 2002 +0000 @@ -1,3 +1,13 @@ +2002-10-07 Brian Masney <masneyb@gftp.org> + * lib/local.c - fixed file uploads + + * lib/rfc959.c - fixed crash if you uploaded/downloaded a file that + you didn't have permission to + + * src/gtk/transfer.c - display fixes for hostname + + * autogen.sh - pass -c to automake + 2002-10-07 Brian Masney <masneyb@gftp.org> * docs/sample.gftp/gftp-mini-logo.xpm - added mini gFTP logo file from Debian. This can be used as a menu icon. @@ -18,7 +28,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.15 2002/10/07 10:44:05 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.16 2002/10/08 02:19:45 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/TODO Mon Oct 07 18:17:08 2002 +0000 +++ b/TODO Tue Oct 08 02:19:46 2002 +0000 @@ -2,7 +2,8 @@ of gFTP. If there is something you feel should be included in a future version of gFTP, please email me about it. -* Add large file support to configure.in +* For bookmarks, be able to specify a local protocol, host, port, directory + to connect to * SSH login sequence could be improved * Show status information in title bar * -d command line, check if it's a file first, if so download. If not, grab directory @@ -16,6 +17,7 @@ * Add registered file extensions to options dialog * VMS directory listings * FTP: Send ABOR command when the users wants to stop the download +* HTTP: Support CONNECT method in Squid proxy * FTP: Support rfc1639 * Add support for SRP protocol (http://srp.stanford.edu/srp) * Add support for DAV protocol
--- a/autogen.sh Mon Oct 07 18:17:08 2002 +0000 +++ b/autogen.sh Tue Oct 08 02:19:46 2002 +0000 @@ -78,7 +78,7 @@ # optionally feature autoheader (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader -automake-1.4 -a $am_opt +automake-1.4 -a -c $am_opt autoconf cd $ORIGDIR
--- a/lib/local.c Mon Oct 07 18:17:08 2002 +0000 +++ b/lib/local.c Tue Oct 08 02:19:46 2002 +0000 @@ -225,7 +225,7 @@ return (-2); } - if ((request->datafd = fdopen (sock, "rb+")) == NULL) + if ((request->datafd = fdopen (sock, "rb")) == NULL) { request->logging_function (gftp_logging_error, request->user_data, _("Cannot fdopen() socket for %s: %s\n"),
--- a/lib/rfc959.c Mon Oct 07 18:17:08 2002 +0000 +++ b/lib/rfc959.c Tue Oct 08 02:19:46 2002 +0000 @@ -337,8 +337,11 @@ if (ret != '1') { - fclose (request->datafd); - request->datafd = NULL; + if (request->datafd != NULL) + { + fclose (request->datafd); + request->datafd = NULL; + } return (-2); } @@ -408,8 +411,11 @@ g_free (tempstr); if (ret != '1') { - fclose (request->datafd); - request->datafd = NULL; + if (request->datafd != NULL) + { + fclose (request->datafd); + request->datafd = NULL; + } return (-2); }
--- a/src/gtk/transfer.c Mon Oct 07 18:17:08 2002 +0000 +++ b/src/gtk/transfer.c Tue Oct 08 02:19:46 2002 +0000 @@ -2078,7 +2078,8 @@ tdata->fromreq->logging_function (gftp_logging_error, tdata->fromreq->user_data, _("Error: Remote site %s disconnected. Max retries reached...giving up\n"), - GFTP_GET_HOSTNAME (tdata->fromreq)); + tdata->fromreq->hostname != NULL ? + tdata->fromreq->hostname : tdata->toreq->hostname); return (-1); } else @@ -2086,7 +2087,9 @@ tdata->fromreq->logging_function (gftp_logging_error, tdata->fromreq->user_data, _("Error: Remote site %s disconnected. Will reconnect in %d seconds\n"), - GFTP_GET_HOSTNAME (tdata->fromreq), tdata->fromreq->sleep_time); + tdata->fromreq->hostname != NULL ? + tdata->fromreq->hostname : tdata->toreq->hostname, + tdata->fromreq->sleep_time); } while (tdata->fromreq->retries == 0 ||