/[packages]/cauldron/net-tools/current/SOURCES/net-tools-1.60-statistics_buffer.patch
ViewVC logotype

Contents of /cauldron/net-tools/current/SOURCES/net-tools-1.60-statistics_buffer.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 318 - (show annotations) (download)
Fri Jan 7 23:30:25 2011 UTC (13 years, 3 months ago) by tmb
File size: 515 byte(s)
imported package net-tools
1 diff -up net-tools-1.60/statistics.c.old net-tools-1.60/statistics.c
2 --- net-tools-1.60/statistics.c.old 2008-03-04 10:44:41.000000000 +0100
3 +++ net-tools-1.60/statistics.c 2008-03-04 10:44:11.000000000 +0100
4 @@ -352,7 +352,7 @@ struct tabtab *newtable(struct tabtab *t
5
6 void process_fd(FILE *f,int file_desc) // added file_desc to show propriate error mesg
7 {
8 - char buf1[1024], buf2[1024];
9 + char buf1[2048], buf2[2048];
10 char *sp, *np, *p;
11 while (fgets(buf1, sizeof buf1, f)) {
12 int endflag;

  ViewVC Help
Powered by ViewVC 1.1.30