Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 21:30:04 GMT
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/177422: [patch] [lsof] port broken after r247602
Message-ID:  <201303272130.r2RLU4tT082059@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/177422; it has been noted by GNATS.

From: Larry Rosenman <ler@lerctr.org>
To: <freebsd-ports-bugs@freebsd.org>, <bug-followup@freebsd.org>, Hiren
 Panchasara <hiren.panchasara@gmail.com>
Cc:  
Subject: Re: ports/177422: [patch] [lsof] port broken after r247602
Date: Wed, 27 Mar 2013 16:25:53 -0500

 On 2013-03-27 16:24, Larry Rosenman wrote:
 > Update to 4.88D in the ports tree (mis-type on first reply).
 
 
 > 
 > 
 > 
 > 
 > On 2013-03-27 16:19, Hiren Panchasara wrote:
 >>> Number:         177422
 >>> Category:       ports
 >>> Synopsis:       [patch] [lsof] port broken after r247602
 >>> 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:   Wed Mar 27 21:20:00 UTC 2013
 >>> Closed-Date:
 >>> Last-Modified:
 >>> Originator:     Hiren Panchasara
 >>> Release:        current
 >>> Organization:
 >>> Environment:
 >> 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r247891: Wed Mar  6 15:04:28 PST 
 >> 2013
 >>> Description:
 >> Fails in building:
 >> dproc.c:374:11: error: no member named 'fd_ofileflags' in 'struct
 >> filedesc'; did you mean 'fd_ofiles'?
 >>                 if (!fd.fd_ofileflags || 
 >> kread((KA_T)fd.fd_ofileflags, pof, nb))
 >>                         ^~~~~~~~~~~~~
 >>                         fd_ofiles
 >> /usr/src/sys/sys/filedesc.h:68:22: note: 'fd_ofiles' declared here
 >>         struct  filedescent *fd_ofiles; /* open files */
 >>                              ^
 >> dproc.c:374:43: error: no member named 'fd_ofileflags' in 'struct
 >> filedesc'; did you mean 'fd_ofiles'?
 >>                 if (!fd.fd_ofileflags || 
 >> kread((KA_T)fd.fd_ofileflags, pof, nb))
 >>                                                         ^~~~~~~~~~~~~
 >>                                                         fd_ofiles
 >> /usr/src/sys/sys/filedesc.h:68:22: note: 'fd_ofiles' declared here
 >>         struct  filedescent *fd_ofiles; /* open files */
 >> 
 >>> How-To-Repeat:
 >> 
 >>> Fix:
 >> --- dproc.c.0   2013-03-27 14:08:03.415202409 -0700
 >> +++ dproc.c     2013-03-27 14:12:19.552186829 -0700
 >> @@ -397,7 +397,7 @@
 >>                     }
 >>                     pofb = nb;
 >>                 }
 >> -               if (!fd.fd_ofileflags || 
 >> kread((KA_T)fd.fd_ofileflags, pof, nb))
 >> +               if (!fd.fd_ofiles->fde_flags ||
 >> kread((KA_T)fd.fd_ofiles->fde_flags, pof, nb))
 >>                     zeromem(pof, nb);
 >>             }
 >>  #endif /* defined(HASFSTRUCT) */
 >> 
 >> 
 >>> Release-Note:
 >>> Audit-Trail:
 >>> Unformatted:
 >> _______________________________________________
 >> freebsd-ports-bugs@freebsd.org mailing list
 >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
 >> To unsubscribe, send any mail to 
 >> "freebsd-ports-bugs-unsubscribe@freebsd.org"
 
 -- 
 Larry Rosenman                     http://www.lerctr.org/~ler
 Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
 US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



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