Return to cmds.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.10, 1997/01/25 21:42:27 | version 1.11, 1997/01/28 20:48:40 | ||
---|---|---|---|
|
|
||
code = -1; | code = -1; | ||
return; | return; | ||
} | } | ||
if (getwd(buf) != NULL) | if (getcwd(buf, sizeof(buf)) != NULL) | ||
printf("Local directory now %s\n", buf); | printf("Local directory now %s\n", buf); | ||
else | else | ||
warnx("getwd: %s", buf); | warnx("getcwd: %s", buf); | ||
code = 0; | code = 0; | ||
} | } | ||