Subject: bin/6141: libexec/ftpd fails to compile on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: The Dragon Prince <elric@mabelode.imrryr.org>
List: netbsd-bugs
Date: 09/11/1998 03:17:52
>Number:         6141
>Category:       bin
>Synopsis:       libexec/ftpd fails to compile on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 11 03:20:01 1998
>Last-Modified:
>Originator:     R. C. Dowdeswell
>Organization:
	imrryr.org
>Release:        Fri 10 Sep
>Environment:
System: NetBSD mabelode.imrryr.org 1.3H NetBSD 1.3H (MABELODE) #0: Thu Sep 10 18:45:51 PDT 1998 root@mabelode.imrryr.org:/usr/src/sys/arch/alpha/compile/MABELODE alpha

>Description:
When I was making the world, ftpd failed to compile.  The problem is that
ftpd.c includes extern.h which defines:
extern int transflag;
and ftpd.c goes on to declare:
sig_atomic_t transflag;
which on an alpha is a long.  This causes the compile to fail.
>How-To-Repeat:
build ftpd
>Fix:
Well, to get mine working, I changed extern.h to
#include <signal.h>
and changed the declaration of transflag to:
extern sig_atomic_t	transflag;
>Audit-Trail:
>Unformatted: