Replaced two strstr by a hand-written loop in this critical code.

2007-01-11  Benoît Dejean  <benoit@placenet.org>

	* glibtop_private.c: (get_scaled):
	
	Replaced two strstr by a hand-written loop in this critical code.

svn path=/trunk/; revision=2544
This commit is contained in:
Benoît Dejean
2007-01-11 20:28:02 +00:00
committed by Benoît Dejean
parent 63fb94127a
commit b411ee115f
2 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2007-01-11 Benoît Dejean <benoit@placenet.org>
* glibtop_private.c: (get_scaled):
Replaced two strstr by a hand-written loop in this critical code.
2006-09-11 Benoît Dejean <benoit@placenet.org>
* procmap.c: (glibtop_get_proc_map_s):