1
Undocumented patches found in diff.gz.
3
Index: net-tools/netstat.c
4
===================================================================
5
--- net-tools.orig/netstat.c
6
+++ net-tools/netstat.c
7
@@ -387,6 +387,10 @@ static void prg_cache_load(void)
8
#ifdef DIRENT_HAVE_D_TYPE_WORKS
9
if (direfd->d_type!=DT_LNK)
13
+ if (!isdigit(direfd->d_name[0]))
16
if (procfdlen+1+strlen(direfd->d_name)+1>sizeof(line))
18
@@ -541,9 +545,9 @@ static void finish_this_one(int uid, uns
19
printf("%-10lu ",inode);
22
- printf("%-" PROGNAME_WIDTHs "s",prg_cache_get(inode));
23
+ printf(" %-16s",prg_cache_get(inode));
25
- printf("%s", timers);
26
+ printf(" %s", timers);
30
@@ -1250,7 +1254,7 @@ static int unix_info(void)
31
printf(_("(w/o servers)"));
34
- printf(_("\nProto RefCnt Flags Type State I-Node"));
35
+ printf(_("\nProto RefCnt Flags Type State I-Node "));
36
print_progname_banner();
37
printf(_(" Path\n")); /* xxx */
39
@@ -1813,10 +1817,11 @@ int main
41
printf(_("\nProto Recv-Q Send-Q Local Address Foreign Address State ")); /* xxx */
43
- printf(_(" User Inode "));
44
- print_progname_banner();
45
+ printf(_(" User Inode "));
47
+ printf(_(" PID/Program name"));
49
- printf(_(" Timer")); /* xxx */
50
+ printf(_(" Timer"));
54
@@ -1917,6 +1922,7 @@ int main