ports/157274: misc/finutils: gfind segmentation fault: 11 (core dumped)

Klaus T. Aehlig aehlig at linta.de
Mon May 30 21:50:17 UTC 2011


The following reply was made to PR ports/157274; it has been noted by GNATS.

From: "Klaus T. Aehlig" <aehlig at linta.de>
To: Eitan Adler <lists at eitanadler.com>
Cc: bug-followup at freebsd.org, fabian at wenks.ch
Subject: Re: ports/157274: misc/finutils: gfind segmentation fault: 11 (core
 dumped)
Date: Mon, 30 May 2011 22:47:23 +0100

 --yrj/dFKFPuw6o+aM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 
 Hi again,
 
 the misssing prototype _was_ the problem. I just got confused
 by the various #ifdef's in that file. On my 7.3-RELEASE
 adding the attached patch to the files directory (and bumping
 PORTREVISION) solves the problem.
 
 Fabian: can you please verify that this solves the problem
 for you as well?
 
 Eitan: can you please assign this PR to someone so that the
 change gets committed (or commit it yourself)?
 
 Best,
 Klaus
 
 PS:
 The incomplete header on 7.3-RELEASE should be fixed
 nevertheless. Whom to forward this observation?
 
 --yrj/dFKFPuw6o+aM
 Content-Type: text/x-csrc; charset=us-ascii
 Content-Disposition: attachment; filename="patch-gnulib__lib__fdopendir.c"
 
 --- gnulib/lib/fdopendir.c.orig	2011-04-02 15:37:38.000000000 +0000
 +++ gnulib/lib/fdopendir.c	2011-05-30 21:05:02.000000000 +0000
 @@ -182,9 +182,11 @@
  
  # include <errno.h>
  # include <sys/stat.h>
 +# include <dirent.h>
  
  # undef fdopendir
  
 +extern DIR *fdopendir(int);
  /* Like fdopendir, but work around GNU/Hurd bug by validating FD.  */
  
  DIR *
 
 --yrj/dFKFPuw6o+aM--



More information about the freebsd-ports-bugs mailing list