Return to readlink.c CVS log | Up to [local] / src / usr.bin / readlink |
version 1.10, 1997/09/23 20:13:21 | version 1.11, 1997/09/23 20:21:28 | ||
---|---|---|---|
|
|
||
#ifdef DEBUG | #ifdef DEBUG | ||
fprintf(stderr, "%s\n", newpath); | fprintf(stderr, "%s\n", newpath); | ||
#endif | #endif | ||
strcpy(target, newpath); | strncpy(target, newpath, sizeof target-1); | ||
target[sizeof target-1] = '\0'; | |||
path = target; | path = target; | ||
} | } | ||
} | } |