Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 11:19:13 -0500 (EST)
From:      muk@bender.cl.msu.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17281: sigrot broken
Message-ID:  <200003091619.LAA08668@bender.cl.msu.edu>

next in thread | raw e-mail | index | archive | help

>Number:         17281
>Category:       ports
>Synopsis:       sigrot broken -here's the patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar  9 08:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthew A. Kolb
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Michigan State University
>Environment:
	output of uname -a:
	FreeBSD bender.cl.msu.edu 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Wed Feb 23 08:35:07 EST 2000     muk@bender.cl.msu.edu:/usr/src/sys/compile/KIF  i386
	Ports cvsup'd at 5:00am 03/09/2000


>Description:

	/usr/ports/mail/sigrot will compile, but will segfault if run with no arguments. 
>How-To-Repeat:

	make sigrot, run sigrot -w testfile, then run sigrot. It will segfault with no arguments. the expected behavior is to copy an entry from the sigrot_archive file into ~/.signature

>Fix:

	apply the following patch to sigrot.c:
	170c170
	<   else
	---
	>   else {
	172c172,173
	<   fclose(inFile);
	---
	>     fclose(inFile);
	>   }

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003091619.LAA08668>