version 1.77 | | version 1.78 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.77 2005/10/18 16:54:31 gros Exp $"; | | * "$Id: time.c,v 1.78 2005/10/28 23:43:31 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return; | | return; |
for (tmp=op->above; tmp != NULL; tmp=tmp->above) { | | for (tmp=op->above; tmp != NULL; tmp=tmp->above) { |
if (strcmp(op->other_arch->name, tmp->arch->name) == 0) { | | if (strcmp(op->other_arch->name, tmp->arch->name) == 0) { |
if (op->level == 0) { | | if (op->level <= 0) { |
remove_ob(tmp); | | remove_ob(tmp); |
free_object(tmp); | | free_object(tmp); |
} else { | | } else { |
tmp->nrof *= op->level; | | uint64 new_nrof = (uint64)tmp->nrof*op->level; |
| | if (new_nrof >= 1UL<<31) |
| | new_nrof = 1UL<<31; |
| | tmp->nrof = new_nrof; |
} | | } |
break; | | break; |
} | | } |