Parent Directory | Revision Log
imported package net-tools
1 | --- net-tools-1.60/netstat.c.skip 2006-08-07 10:45:25.000000000 +0200 |
2 | +++ net-tools-1.60/netstat.c 2006-08-07 11:17:37.000000000 +0200 |
3 | @@ -444,6 +444,10 @@ |
4 | #ifdef DIRENT_HAVE_D_TYPE_WORKS |
5 | if (direfd->d_type!=DT_LNK) |
6 | continue; |
7 | +#else |
8 | + /* Skip . and .. */ |
9 | + if (!isdigit(direfd->d_name[0])) |
10 | + continue; |
11 | #endif |
12 | if (procfdlen+1+strlen(direfd->d_name)+1>sizeof(line)) |
13 | continue; |
ViewVC Help | |
Powered by ViewVC 1.1.30 |