From 395a33d84f2a2368dda5e2555144b81898a8dc36 Mon Sep 17 00:00:00 2001 From: Unknown User d91-jda Date: Wed, 1 May 1996 19:25:32 +0000 Subject: [PATCH] Removed progname. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@456 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index a71331751..91dc4669a 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -241,12 +241,6 @@ static void conn_wait(int port) close(t); } - - -#ifndef HAVE___PROGNAME -char *__progname = "ftpd"; -#endif - int main(int argc, char **argv, char **envp) { @@ -1461,11 +1455,7 @@ pwd(void) /* SunOS has a broken getcwd that does popen(pwd) (!!!), this * failes miserably when running chroot */ -#if defined(HAVE_GETCWD) && !defined(BROKEN_GETCWD) ret = getcwd(path, sizeof(path)); -#else - ret = getwd(path); -#endif if (ret == NULL) reply(550, "%s.", strerror(errno)); else