changeset 203:95e669973a84

2003-6-25 Brian Masney <masneyb@gftp.org> * lib/misc.c - fix warning if DMALLOC is disabled * src/text/gftp-text.c - don't attempt to expand the local directory * TODO - updated
author masneyb
date Thu, 26 Jun 2003 01:40:24 +0000
parents 7d7d8299610d
children 9b2de8d3fafe
files ChangeLog TODO lib/misc.c src/text/gftp-text.c
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 26 01:21:53 2003 +0000
+++ b/ChangeLog	Thu Jun 26 01:40:24 2003 +0000
@@ -1,3 +1,10 @@
+2003-6-25 Brian Masney <masneyb@gftp.org>
+	* lib/misc.c - fix warning if DMALLOC is disabled
+
+	* src/text/gftp-text.c - don't attempt to expand the local directory
+
+	* TODO - updated
+
 2003-6-25 Brian Masney <masneyb@gftp.org>
 	* acinclude.m4 - added AC_TYPE_SOCKLEN_T. Thanks to
 	Nathan Robertson <nathanr@nathanr.net> for pointing this out
@@ -1121,7 +1128,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.101 2003/06/26 01:21:52 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.102 2003/06/26 01:40:23 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/TODO	Thu Jun 26 01:21:53 2003 +0000
+++ b/TODO	Thu Jun 26 01:40:24 2003 +0000
@@ -3,9 +3,7 @@
 version of gFTP, please email me about it.
 
 *** TODO FOR 2.0.15 ***
-* socklen_t to configure.in
 * Check for memory leaks with dmalloc
-* text port - cd .. is busted
 * DND - be able to resume transfers
 * HTTP - keepalive
 * HTTP - chdir .. is busted
--- a/lib/misc.c	Thu Jun 26 01:21:53 2003 +0000
+++ b/lib/misc.c	Thu Jun 26 01:40:24 2003 +0000
@@ -1016,8 +1016,10 @@
 void
 gftp_shutdown (void)
 {
+#ifdef WITH_DMALLOC
   gftp_config_vars * cv;
   GList * templist;
+#endif
 
   if (gftp_logfd != NULL)
     fclose (gftp_logfd);
--- a/src/text/gftp-text.c	Thu Jun 26 01:21:53 2003 +0000
+++ b/src/text/gftp-text.c	Thu Jun 26 01:40:24 2003 +0000
@@ -436,13 +436,6 @@
                      _("usage: chdir <directory>\n"));
       return (1);
     }
-  else if (request->protonum == GFTP_LOCAL_NUM &&
-           (newdir = expand_path (command)) == NULL)
-    {
-      gftp_text_log (gftp_logging_error, request, 
-                     _("usage: chdir <directory>\n"));
-      return (1);
-    }
 
   gftp_set_directory (request, newdir != NULL ? newdir : command);