NetBSD-Bugs archive

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

Re: lib/53125: sys/timevar.h is absent in installed systems.



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

From: =?UTF-8?B?SmFyb23DrXIgRG9sZcSNZWs=?= <jaromir.dolecek%gmail.com@localhost>
To: Utkarsh Anand <utkarsh009%yandex.com@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Sat, 24 Mar 2018 19:07:14 +0100

 --f403045d57322676d105682c6961
 Content-Type: text/plain; charset="UTF-8"
 
 2018-03-24 18:55 GMT+01:00 Utkarsh Anand <utkarsh009%yandex.com@localhost>:
 >
 >
 > >>  So what is the purpose of the code you are trying to get to compile
 and run, what kind of information do you need to get, why the standard
 POSIX interfaces are not sufficient?
 >
 > >>  Jaromir
 > Sorry, I forgot mentioning the purpose. It's a text editor, so the
 purpose was to edit files. It's a nice text editor with lots of plugins and
 themes (like https://github.com/mhartington/oceanic-next) along with all
 vim commands/macros.
 
 
 Thanks. I see it's editor.
 
 But why is the editor so special that the code needs to peek at kinfo_proc
 and growel kernel structures? Can you explain which particular field of
 that structure the code attemps to use, and for what exact purpose? Does it
 just need to show name of process which created lock file for example, or
 what exactly does it use the information from kinfo_proc for?
 
 It is possible there is truly portable interface for that purpose already.
 Maybe it was conceived in darker times when there was no other way than to
 peek through internal system headers, and now there maybe exists better way.
 
 Jaromir
 
 --f403045d57322676d105682c6961
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">2018-03-24 18:55 GMT+01:00 Utkarsh Anand &lt;<a href=3D"ma=
 ilto:utkarsh009%yandex.com@localhost">utkarsh009%yandex.com@localhost</a>&gt;:<br>&gt;<br>&gt;<=
 br>&gt; &gt;&gt; =C2=A0So what is the purpose of the code you are trying to=
  get to compile and run, what kind of information do you need to get, why t=
 he standard POSIX interfaces are not sufficient?<br>&gt;<br>&gt; &gt;&gt; =
 =C2=A0Jaromir<br>&gt; Sorry, I forgot mentioning the purpose. It&#39;s a te=
 xt editor, so the purpose was to edit files. It&#39;s a nice text editor wi=
 th lots of plugins and themes (like <a href=3D"https://github.com/mhartingt=
 on/oceanic-next">https://github.com/mhartington/oceanic-next</a>) along wit=
 h all vim commands/macros.<br><br><br>Thanks. I see it&#39;s editor.<br><br=
 >But why is the editor so special that the code needs to peek at kinfo_proc=
  and growel kernel structures? Can you explain which particular field of th=
 at structure the code attemps to use, and for what exact purpose? Does it j=
 ust need to show name of process which created lock file for example, or wh=
 at exactly does it use the information from kinfo_proc for?<div><br></div><=
 div>It is possible there is truly portable interface for that purpose alrea=
 dy. Maybe it was conceived in darker times when there was no other way than=
  to peek through internal system headers, and now there maybe exists better=
  way.<br><br>Jaromir<br></div></div>
 
 --f403045d57322676d105682c6961--
 



Home | Main Index | Thread Index | Old Index