Diff for ep/src/proctable.c between version 1.29 and 1.30
| version 1.29, 2002/10/03 15:50:06 |
version 1.30, 2002/10/03 16:03:31 |
| Line 170 proctable_get_process_index_by_name(ptbl |
|
| Line 170 proctable_get_process_index_by_name(ptbl |
|
| register int i = 0; |
register int i = 0; |
| |
|
| for (i = 0; ptbl[i] != NULL; i++) |
for (i = 0; ptbl[i] != NULL; i++) |
| if (ptbl[i]->name != NULL && ! strdyn_casecmp(ptbl[i]->name, name)) |
if (ptbl[i]->name != NULL |
| |
&& ! PLATON_FUNC(strdyn_casecmp)(ptbl[i]->name, name)) |
| return i; |
return i; |
| |
|
| return -1; |
return -1; |
Platon Group <platon@platon.org> http://platon.org/
|
|