version 1.10, 1998/07/03 18:51:14 |
version 1.11, 1998/12/05 00:06:29 |
|
|
for (i = (sizeof(copy)/sizeof(copy[0]))-1; i >= 0; i--) { |
for (i = (sizeof(copy)/sizeof(copy[0]))-1; i >= 0; i--) { |
char *p1; |
char *p1; |
Var_Set(copy[i], Var_Value(copy[i], mem, &p1), gn); |
Var_Set(copy[i], Var_Value(copy[i], mem, &p1), gn); |
if (p1) |
efree(p1); |
free(p1); |
|
|
|
} |
} |
|
|
|
|
gn->suffix = (targ == NULL) ? NULL : targ->suff; |
gn->suffix = (targ == NULL) ? NULL : targ->suff; |
if (gn->suffix) |
if (gn->suffix) |
gn->suffix->refCount++; |
gn->suffix->refCount++; |
if (gn->path != NULL) |
efree(gn->path); |
free(gn->path); |
|
gn->path = estrdup(gn->name); |
gn->path = estrdup(gn->name); |
} |
} |
|
|
|
|
/* |
/* |
* So Dir_MTime doesn't go questing for it... |
* So Dir_MTime doesn't go questing for it... |
*/ |
*/ |
if (gn->path) |
efree(gn->path); |
free(gn->path); |
|
gn->path = estrdup(gn->name); |
gn->path = estrdup(gn->name); |
|
|
/* |
/* |