Date: Tue, 29 Jun 2004 21:35:29 +0200 From: "Filippo Natali" <filippo@widestore.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/68488: [PATCH] sysutils/lsof broken on -CURRENT Message-ID: <1088537729.0@luna.home.net> Resent-Message-ID: <200406291940.i5TJeMjI073480@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68488 >Category: ports >Synopsis: [PATCH] sysutils/lsof broken on -CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 29 19:40:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Filippo Natali >Release: FreeBSD 5.2-CURRENT i386 >Organization: Widestore srl >Environment: System: FreeBSD 5.2-CURRENT #1: Tue Jun 29 00:00:21 CEST 2004 filippo@luna.home.net:/usr/obj/usr/src/sys/LUNA >Description: Lsof doesn't compile on -CURRENT because SS_CANTSENDMORE and SS_CANTRCVMORE now are SBS_CANTSENDMORE and SBS_CANTRCVMORE. >How-To-Repeat: Try to build lsof on a "post 25 June" -CURRENT >Fix: --- patch-ab begins here --- --- dialects/freebsd/dsock.c.orig Fri Apr 30 16:04:54 2004 +++ dialects/freebsd/dsock.c Tue Jun 29 18:21:28 2004 @@ -225,9 +225,9 @@ || kread((KA_T) s.so_pcb, (char *) &inp, sizeof(inp))) { if (!s.so_pcb) { (void) snpf(Namech, Namechl, "no PCB%s%s", - (s.so_state & SS_CANTSENDMORE) ? ", CANTSENDMORE" + (s.so_state & SBS_CANTSENDMORE) ? ", CANTSENDMORE" : "", - (s.so_state & SS_CANTRCVMORE) ? ", CANTRCVMORE" + (s.so_state & SBS_CANTRCVMORE) ? ", CANTRCVMORE" : ""); } else { (void) snpf(Namech, Namechl, "can't read inpcb at %s", --- patch-ab ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1088537729.0>