Since I don't know why that code exists, here is a patch that should
fix the issue, and remain compatible with whatever the heck that
decrementing code tries to achieve on some system I have probably
never seen:
--- ftp-ls.c.orig 2007-08-29 10:34:02.000000000 -0700
+++ ftp-ls.c 2007-08-29 10:48:10.000000000 -0700
@@ -228,6 +228,8 @@
error = 1;
break;
}
+ if (*t == '\0') /* whoop we decremented onto the tail of
the last token */
+ ++t;
errno = 0;
size = str_to_wgint (t, NULL, 10);
if (size == WGINT_MAX && errno == ERANGE)
_________________________________________________________________
A new home for Mom, no cleanup required. All starts here.
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us