After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 400333 - Public interface exposes (pid_t)GPid
Public interface exposes (pid_t)GPid
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.15.x
Other All
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on: 398862
Blocks: vte1.0
 
 
Reported: 2007-01-24 19:23 UTC by Chris Wilson
Modified: 2010-03-24 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Wilson 2007-01-24 19:23:38 UTC
After switching to g_spawn we now use GPids internally. And for portability, we want the external interface to be defined as GPid as well. However, GLib does not guarrantee sizeof (GPid) != sizeof (pid_t) and so the switch cannot be made without a soname revision.
Comment 1 Behdad Esfahbod 2007-01-24 19:41:59 UTC
Let's schedule the soname change to the next cycle, so you have time to butch it however you want!

Who knows, we may as well get to calling it vte 1.0.
Comment 2 Christian Persch 2010-03-17 23:24:06 UTC
All API that exposes pid_t is now deprecated on master, and the new ones use GPid. So let's call this FIXED.
Comment 3 Behdad Esfahbod 2010-03-18 17:21:46 UTC
How about moving all the deprecated API into vte-deprecated.h and include that from vte.h?
Comment 4 Christian Persch 2010-03-18 19:33:28 UTC
I put all of the deprecated stuff down at the end into one big #ifndef VTE_DISABLE_DEPRECATED section; is that good enough?
Comment 5 Christian Persch 2010-03-24 13:16:36 UTC
Ended up adding vtedeprecated.h containing the deprecated stuff from vte.h, so that it doesn't end up in the GIR.