From owner-freebsd-ports Thu Jan 29 22:50:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA04074 for freebsd-ports-outgoing; Thu, 29 Jan 1998 22:50:03 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA04066; Thu, 29 Jan 1998 22:50:02 -0800 (PST) (envelope-from gnats) Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA03452 for ; Thu, 29 Jan 1998 22:44:40 -0800 (PST) (envelope-from sanpei@yy.cs.keio.ac.jp) Received: from lavender.rad.cc.keio.ac.jp (ppp1.yy.ics.keio.ac.jp [131.113.47.28]) by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta11/3.6W) with ESMTP id PAA14589 for ; Fri, 30 Jan 1998 15:24:07 +0900 (JST) Received: (from sanpei@localhost) by lavender.rad.cc.keio.ac.jp (8.8.5/3.6Wbeta4) id PAA06045; Fri, 30 Jan 1998 15:23:08 +0900 (JST) Message-Id: <199801300623.PAA06045@lavender.rad.cc.keio.ac.jp> Date: Fri, 30 Jan 1998 15:23:08 +0900 (JST) From: sanpei@yy.cs.keio.ac.jp Reply-To: sanpei@yy.cs.keio.ac.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5603: update of net/gnu-finger (fingerd has core dump problem) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-ports" >Number: 5603 >Category: ports >Synopsis: update of net/gnu-finger (fingerd has core dump problem) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 29 22:50:01 PST 1998 >Last-Modified: >Originator: MIHIRA Yoshiro >Organization: Keio Univ. >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: I'm maintainer of net/gnu-finger. GNU fingerd has -i option which is set polling interval. But if it's set, fingerd was core dump. Because -i option needs option string, on the other hand getopt argument in fingerd.c for -i option does not have `:' character. I fix and updated my gnu-finger port. CHANGES: o add gnu-finger/patches/patch-ag file Thank you. >How-To-Repeat: execute fingerd with -i option. % /usr/local/libexec/fingerd -i 30 Segmentation fault >Fix: diff -uNr gnu-finger.org/patches/patch-ag gnu-finger/patches/patch-ag --- gnu-finger.org/patches/patch-ag Thu Jan 1 09:00:00 1970 +++ gnu-finger/patches/patch-ag Thu Jan 15 19:21:17 1998 @@ -0,0 +1,11 @@ +--- src/fingerd.c.org Thu Oct 29 00:12:52 1992 ++++ src/fingerd.c Thu Jan 15 19:19:46 1998 +@@ -145,7 +145,7 @@ main (argc, argv) + default_error_handling (argv[0]); + + /* Parse arguments. */ +- while ((optc = getopt_long (argc, argv, "datfi", longopts, NULL)) >= 0) ++ while ((optc = getopt_long (argc, argv, "datfi:", longopts, NULL)) >= 0) + switch (optc) + { + case 'd': >Audit-Trail: >Unformatted: