gvfs r2078 - in trunk: . daemon



Author: cosimoc
Date: Tue Oct 28 16:52:55 2008
New Revision: 2078
URL: http://svn.gnome.org/viewvc/gvfs?rev=2078&view=rev

Log:
2008-10-28  Cosimo Cecchi  <cosimoc gnome org>

	* daemon/gvfsbackendftp.c: (dir_default_init_data):
	Convert stuct tm from what ParseFTPList gives to what mktime expects.
	Fixes wrong date/time parsing for FTP files.
	Patch by Andreas Henriksson (#550837).


Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendftp.c

Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c	(original)
+++ trunk/daemon/gvfsbackendftp.c	Tue Oct 28 16:52:55 2008
@@ -946,7 +946,7 @@
 
   ftp_connection_send (conn,
 		       RESPONSE_PASS_100 | RESPONSE_FAIL_200,
-		       "LIST");
+		       (conn->system == FTP_SYSTEM_UNIX) ? "LIST -a" : "LIST");
 }
 
 static GFileInfo *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]