Date: Fri, 9 Feb 96 20:29 MET From: dirk@hal.IN-Berlin.DE (Dirk Froemberg) To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1011: usr.sbin/sup/supfilesrv does not compile Message-ID: <m0tkyVE-000BCiC@hal.in-berlin.de> Resent-Message-ID: <199602091940.LAA05218@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 1011
>Category: bin
>Synopsis: usr.sbin/sup/supfilesrv does not compile
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 9 11:40:01 PST 1996
>Last-Modified:
>Originator: Dirk Froemberg
>Organization:
>Release: FreeBSD 2.1-STABLE i386
>Environment:
FreeBSD 2.1-STABLE i386 as of Feb 9
(up to CTM-piece src-2.1.0031.gz)
usr.sbin/sup just commited
>Description:
usr.sbin/sup/supfilesrv does not compile because setproctitle()
is unknown to the linker
>How-To-Repeat:
cd usr.sbin/sup/supfilesrv ; make all
>Fix:
Perhaps it is time to bring setproctitle() to one of the libs.
Code could be taken from libexec/ftpd/ftpd.c
Workaround:
*** usr.sbin/sup/supfilesrv/supfilesrv.c.dist Fri Feb 9 19:51:07 1996
--- usr.sbin/sup/supfilesrv/supfilesrv.c Fri Feb 9 20:13:54 1996
***************
*** 849,856 ****
#endif
if (release == NULL)
release = salloc (DEFRELEASE);
! setproctitle("supfilesrv: serving %s/%s to %s",
! collname, release, remotehost());
if (basedir == NULL || *basedir == '\0') {
basedir = NULL;
(void) sprintf (buf,FILEDIRS,DEFDIR);
--- 849,856 ----
#endif
if (release == NULL)
release = salloc (DEFRELEASE);
! /* setproctitle("supfilesrv: serving %s/%s to %s",
! collname, release, remotehost()); */
if (basedir == NULL || *basedir == '\0') {
basedir = NULL;
(void) sprintf (buf,FILEDIRS,DEFDIR);
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tkyVE-000BCiC>
