Mercurial > gftp.yaz
changeset 682:9b68dc473807
2005-2-4 Brian Masney <masneyb@gftp.org>
* 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
author | masneyb |
---|---|
date | Fri, 04 Feb 2005 14:52:26 +0000 |
parents | 233e8f58f597 |
children | 8bb9f5e08cc4 |
files | ChangeLog lib/misc.c |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <masneyb@gftp.org> + * 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 <masneyb@gftp.org> * 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
--- 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)