Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lsof under 8.99.2



On 29.08.2017 15:07, Chavdar Ivanov wrote:
> Hi,
> 
> I had to get rid of PSCctl / Pctl as follows:
> ---------
> --- dlsof.h.ORIG   2017-08-29 13:44:55.070622675 +0100
> +++ dlsof.h     2017-08-29 13:46:11.574438523 +0100
> @@ -373,7 +373,6 @@
>  #define        Pregs           PFSregs
>  #define        Pfile           PFSfile
>  #define        Pfpregs         PFSfpregs
> -#define        Pctl            PFSctl
>  #define        Pstatus         PFSstatus
>  #define        Pnote           PFSnote
>  #define        Pnotepg         PFSnotepg
> --- dnode.c.ORIG        2017-08-29 13:45:03.910578312 +0100
> +++ dnode.c     2017-08-29 13:46:52.170800142 +0100
> @@ -1307,11 +1307,6 @@
>                 (void) snpf(ep, sz, "/%d/fpregs", p.pfs_pid);
>                 ty = "PFPR";
>                 break;
> -           case Pctl:
> -               ep = endnm(&sz);
> -               (void) snpf(ep, sz, "/%d/ctl", p.pfs_pid);
> -               ty = "PCTL";
> -               break;
>             case Pstatus:
>                 ep = endnm(&sz);
>                 (void) snpf(ep, sz, "/%d/status", p.pfs_pid);
> -----
> 
> in order to compile/test lsof under 8.99.2 (amd64). I couldn't figure
> out (and I didn't try hard, to be honest) how to make the patches work,
> as the files in question are generated in the 'make configure' stage. 
> 
> Chavdar Ivanov
> 

I will have a look.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index