Return to remote.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.19, 2008/02/10 14:04:40 | version 1.20, 2008/02/10 14:15:36 | ||
---|---|---|---|
|
|
||
{ | { | ||
char *dir, *sp, *dp; | char *dir, *sp, *dp; | ||
if (cvs_server_active == 1 && path[0] == '/') | |||
fatal("No absolute directories allowed, go away."); | |||
dir = xstrdup(path); | dir = xstrdup(path); | ||
for (sp = dir; sp != NULL; sp = dp) { | for (sp = dir; sp != NULL; sp = dp) { | ||
dp = strchr(sp, '/'); | dp = strchr(sp, '/'); | ||
if (dp != NULL) | if (dp != NULL) |