Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
bf27a3a8a8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      misc/tools-source/fl_wrapper.c

+ 2
- 1
misc/tools-source/fl_wrapper.c

@ -904,12 +904,13 @@ static void addptree(int *txtpos, char *cmdtxt, int pid, int basepid)
p = getpname(pid);
if (*txtpos < 4000)
if (*txtpos < 4000) {
if ( strcmp(l, p) )
*txtpos += snprintf(cmdtxt+*txtpos, 4096-*txtpos, "%s%s",
*txtpos ? "." : "", getpname(pid));
else
*txtpos += snprintf(cmdtxt+*txtpos, 4096-*txtpos, "*");
}
strcpy(l, p);
}

Loading…
Cancel
Save