summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/pftpfxp/files/0.11.4.6-gcc3.4.fix')
-rw-r--r--net-ftp/pftpfxp/files/0.11.4.6-gcc3.4.fix13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-ftp/pftpfxp/files/0.11.4.6-gcc3.4.fix b/net-ftp/pftpfxp/files/0.11.4.6-gcc3.4.fix
new file mode 100644
index 000000000000..e2c68fb07e38
--- /dev/null
+++ b/net-ftp/pftpfxp/files/0.11.4.6-gcc3.4.fix
@@ -0,0 +1,13 @@
+--- src/server.cc.orig 2004-11-26 17:32:26.750551888 +0930
++++ src/server.cc 2004-11-26 17:41:14.500567672 +0930
+@@ -5357,8 +5357,8 @@
+ finished = FALSE;
+ int f, d;
+ FILELIST **dir_list, **file_list;
+- dir_list = new (FILELIST *)[dir_count];
+- file_list = new (FILELIST *)[file_count];
++ dir_list = new FILELIST *[dir_count];
++ file_list = new FILELIST *[file_count];
+
+ //make arrays for the sorting
+ fl_temp = this->internal_filelist;