aboutsummaryrefslogtreecommitdiff
path: root/ftp/gftp
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-27 01:23:57 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-27 01:23:57 +0000
commita8fe5a4a512b84ff3b64bdd5a00d95668405288f (patch)
tree678a4a9719774b3cf9e9ca08836b0b5e7d4e324c /ftp/gftp
parentd2c205986a4f0c1aa06ac20b4823aaf51b89b199 (diff)
downloadports-a8fe5a4a512b84ff3b64bdd5a00d95668405288f.tar.gz
ports-a8fe5a4a512b84ff3b64bdd5a00d95668405288f.zip
Notes
Diffstat (limited to 'ftp/gftp')
-rw-r--r--ftp/gftp/files/patch-src::gtk::transfer.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/ftp/gftp/files/patch-src::gtk::transfer.c b/ftp/gftp/files/patch-src::gtk::transfer.c
new file mode 100644
index 000000000000..52dca999238a
--- /dev/null
+++ b/ftp/gftp/files/patch-src::gtk::transfer.c
@@ -0,0 +1,16 @@
+--- src/gtk/transfer.c.orig Sun Jul 27 03:17:01 2003
++++ src/gtk/transfer.c Sun Jul 27 03:18:23 2003
+@@ -570,6 +570,13 @@
+ transfer->current_file_number++;
+ g_static_mutex_unlock (&transfer->structmutex);
+
++ if (*(curfle->file+strlen(curfle->file)-1)=='/' ) {
++ *(curfle->file+strlen(curfle->file)-1)=(char)0;
++ }
++ if (*(curfle->destfile+strlen(curfle->destfile)-1)=='/' ) {
++ *(curfle->destfile+strlen(curfle->destfile)-1)=(char)0;
++ }
++
+ if (curfle->transfer_action == GFTP_TRANS_ACTION_SKIP)
+ {
+ g_static_mutex_lock (&transfer->structmutex);