Bug 24106

Summary: ftpd does not compile without virtual hosting support
Product: Base System Reporter: master <master>
Component: binAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description master 2001-01-06 14:30:01 UTC
	ftpd does not compile without virtual hosting support

How-To-Repeat: 	type cd /usr/src/libexec/ftpd
	change Makefile not to add -DVIRTUAL_HOSTING to CFLAGS
	type make
	compile stops
	see error messages
Comment 1 Peter Wemm freebsd_committer freebsd_triage 2001-01-10 21:42:32 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled
Comment 2 Seth Kingsley 2001-03-15 01:25:59 UTC
It looks like somebody was a little over-zealous with an #ifdef. This
patch allows it to compile cleanly with VIRTUAL_HOSTING disabled on
4.2-STABLE:

Index: ftpd.c
===================================================================
RCS file: /ncvs/src/libexec/ftpd/ftpd.c,v
retrieving revision 1.62.2.6
diff -u -r1.62.2.6 ftpd.c
--- ftpd.c	2000/10/23 20:57:54	1.62.2.6
+++ ftpd.c	2001/03/14 23:03:23
@@ -157,10 +157,9 @@
 int	defumask = CMASK;		/* default umask value */
 char	tmpline[7];
 char	*hostname;
+int	epsvall = 0;
 #ifdef VIRTUAL_HOSTING
 char	*ftpuser;
-
-int	epsvall = 0;
 
 static struct ftphost {
 	struct ftphost	*next;

-- 
|| Seth Kingsley || BSDi/Open Source Division || sethk@osd.bsdi.com ||
Comment 3 dd freebsd_committer freebsd_triage 2001-06-13 06:51:17 UTC
State Changed
From-To: open->analyzed

Fixed in -current. 


Comment 4 dd freebsd_committer freebsd_triage 2001-06-13 06:51:17 UTC
Responsible Changed
From-To: freebsd-bugs->dd

My MFC reminder.
Comment 5 dd freebsd_committer freebsd_triage 2001-07-19 06:44:11 UTC
State Changed
From-To: analyzed->closed

MFC'd