Removed progname.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@456 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Unknown User d91-jda
1996-05-01 19:25:32 +00:00
parent 2acd35f94f
commit 395a33d84f

View File

@@ -241,12 +241,6 @@ static void conn_wait(int port)
close(t); close(t);
} }
#ifndef HAVE___PROGNAME
char *__progname = "ftpd";
#endif
int int
main(int argc, char **argv, char **envp) main(int argc, char **argv, char **envp)
{ {
@@ -1461,11 +1455,7 @@ pwd(void)
/* SunOS has a broken getcwd that does popen(pwd) (!!!), this /* SunOS has a broken getcwd that does popen(pwd) (!!!), this
* failes miserably when running chroot * failes miserably when running chroot
*/ */
#if defined(HAVE_GETCWD) && !defined(BROKEN_GETCWD)
ret = getcwd(path, sizeof(path)); ret = getcwd(path, sizeof(path));
#else
ret = getwd(path);
#endif
if (ret == NULL) if (ret == NULL)
reply(550, "%s.", strerror(errno)); reply(550, "%s.", strerror(errno));
else else