openbsd-ports/net/gftp/patches/patch-lib_local_c
alek 519784b391 Import gftp 2.0.18
gFTP is a free multithreaded file transfer client for *NIX based
machines. It has the following features:
- Distributed under the terms of the GNU Public License Agreement
- Written in C and has a text interface and a GTK+ 1.2/2.x interface
- Supports the FTP, FTPS (control connection only), HTTP, HTTPS, SSH and
  FSP protocols
- FTP and HTTP proxy server support
- Supports FXP file transfers (transferring files between 2 remote
  servers via FTP)
- Supports UNIX, EPLF, Novell, MacOS, VMS, MVS and NT (DOS) style
  directory listings
- Bookmarks menu to allow you to quickly connect to remote sites
- Fully Internationalized

From Antoine Jacoutot <ajacoutot@lphp.org>
2005-11-02 20:19:29 +00:00

13 lines
476 B
Plaintext

$OpenBSD: patch-lib_local_c,v 1.1.1.1 2005/11/02 20:19:29 alek Exp $
--- lib/local.c.orig Tue Oct 25 10:44:00 2005
+++ lib/local.c Tue Oct 25 10:44:17 2005
@@ -372,7 +372,7 @@ local_get_file_size (gftp_request * requ
static int
local_chdir (gftp_request * request, const char *directory)
{
- char tempstr[255];
+ char tempstr[PATH_MAX];
g_return_val_if_fail (request != NULL, GFTP_EFATAL);
g_return_val_if_fail (request->protonum == GFTP_LOCAL_NUM, GFTP_EFATAL);