# HG changeset patch # User masneyb # Date 1107528746 0 # Node ID 9b68dc4738076455f9883c4084a59795968a5750 # Parent 233e8f58f597002a431fc7559c283facd476ef7b 2005-2-4 Brian Masney * lib/misc.c (gftp_get_transfer_action) - added the following FIXME comments: add code to compare the file times and make a decision based on that. Also if overwrite_default is enabled and the file sizes/dates are the same, then skip the file diff -r 233e8f58f597 -r 9b68dc473807 ChangeLog --- a/ChangeLog Fri Jan 28 17:41:49 2005 +0000 +++ b/ChangeLog Fri Feb 04 14:52:26 2005 +0000 @@ -1,3 +1,9 @@ +2005-2-4 Brian Masney + * lib/misc.c (gftp_get_transfer_action) - added the following FIXME + comments: add code to compare the file times and make a decision based + on that. Also if overwrite_default is enabled and the file sizes/dates + are the same, then skip the file + 2005-1-25 Brian Masney * src/gtk/gtkui.c (gftpui_run_function_callback) - after the needed information is retrieved from the dialog, destroy the dialog before @@ -3264,7 +3270,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.401 2005/01/26 03:22:05 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.402 2005/02/04 14:52:26 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 233e8f58f597 -r 9b68dc473807 lib/misc.c --- a/lib/misc.c Fri Jan 28 17:41:49 2005 +0000 +++ b/lib/misc.c Fri Feb 04 14:52:26 2005 +0000 @@ -1266,6 +1266,10 @@ gftp_lookup_request_option (request, "overwrite_default", &overwrite_default); + /* FIXME - add code to compare the file times and make a decision based + on that. Also if overwrite_default is enabled and the file sizes/dates are + the same, then skip the file */ + if (overwrite_default) fle->transfer_action = GFTP_TRANS_ACTION_OVERWRITE; else if (fle->startsize == fle->size)