- Through the Debian bugtracking system a bug report and fix was sent
my way, that deals with stupid optmization trying to save some 768
bytes of memory, sacrificing "it works" on a different
architecture... (default char signedness)
source: ftp://ftp.bitwizard.nl/mtr/mtr-0.66.tar.gz
WHAT'S NEW?
+ v0.66 Through the Debian bugtracking system a bug report and
+ fix was sent my way, that deals with stupid optmization
+ trying to save some 768 bytes of memory, sacrificing "it
+ works" on a different architecture... (default char signedness)
v0.65 Dancer Vesperman noted that mtr no longer traces past
a section of non-responding hosts. Apparently I added
a line in net.c that didn't make sense in mtr-0.56. I
{
int c = getch();
int i=0;
- char buf[MAXFLD];
+ char buf[MAXFLD+1];
if(c == 'q')
return ActionQuit;
/* default display field(defined by key in net.h) and order */
unsigned char fld_active[2*MAXFLD] = "LS NABWV";
-char fld_index[256];
+int fld_index[256];
char available_options[MAXFLD];
/* keys: the value in the array is the index number in data_fields[] */
-extern char fld_index[];
+extern int fld_index[];
extern unsigned char fld_active[];
extern char available_options[];