mtr 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)

source: ftp://ftp.bitwizard.nl/mtr/mtr-0.66.tar.gz
This commit is contained in:
Roger Wolff 2004-12-12 00:00:00 +00:00 committed by Travis Cross
parent 6ca6e88791
commit 1f8386e1fa
4 changed files with 7 additions and 3 deletions

4
NEWS
View File

@ -1,4 +1,8 @@
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

View File

@ -90,7 +90,7 @@ int mtr_curses_keyaction()
{
int c = getch();
int i=0;
char buf[MAXFLD];
char buf[MAXFLD+1];
if(c == 'q')
return ActionQuit;

2
mtr.c
View File

@ -73,7 +73,7 @@ int maxTTL = 30; /* inline with traceroute */
/* 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];

2
net.h
View File

@ -100,7 +100,7 @@ extern struct fields data_fields[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[];