• Home
Name Date Size #Lines LOC

..--

.gitlab-ci/12-May-2024-896678

docs/12-May-2024-30,23127,552

fuzzing/12-May-2024-281208

gio/12-May-2024-331,849217,358

glib/12-May-2024-337,306236,669

gmodule/12-May-2024-2,5211,645

gobject/12-May-2024-51,19231,426

gthread/12-May-2024-11775

m4macros/12-May-2024-1,1131,005

po/12-May-2024-493,718397,510

subprojects/12-May-2024-2116

tests/12-May-2024-22,90418,651

.dir-locals.elD12-May-202441 21

.gitattributesD12-May-2024658 1716

.gitignoreD12-May-2024231 3128

.gitlab-ci.ymlD12-May-202410.3 KiB356313

AUTHORSD12-May-20241.3 KiB4136

BUILD.gnD12-May-20246.2 KiB259244

CONTRIBUTING.mdD12-May-202410.6 KiB275204

COPYINGD12-May-202425.9 KiB503418

HACKINGD12-May-2024571 1813

INSTALL.inD12-May-20244.3 KiB12688

NEWSD12-May-2024430.3 KiB11,9189,924

NEWS.pre-1-3D12-May-20248.5 KiB212176

OAT.xmlD12-May-20244.4 KiB7618

READMED12-May-202414 21

README.OpenSourceD12-May-2024483 1110

README.mdD12-May-202414.6 KiB334258

README.rationaleD12-May-2024505 117

README.win32D12-May-202421 21

README.win32.mdD12-May-20248.1 KiB183133

bundle.jsonD12-May-2024942 4040

check-abis.shD12-May-2024796 2418

config.hD12-May-20249.9 KiB510264

glib-gettextize.inD12-May-20245.3 KiB188140

glib.doapD12-May-20242.3 KiB6553

glib.suppD12-May-202414.7 KiB949866

meson.buildD12-May-202469.8 KiB2,1661,957

meson_options.txtD12-May-20242.7 KiB9778

msvc_recommended_pragmas.hD12-May-20241.8 KiB3526

sanity_checkD12-May-2024715 4128

template-tap.test.inD12-May-202473 54

template.test.inD12-May-202457 43

README

1See README.md
2

README.OpenSource

1[
2    {
3        "Name": "glib",
4        "License": "LGPL V2.1",
5        "License File": "COPYING",
6        "Version Number": "2.62.5",
7        "Upstream URL": "https://www.gtk.org/",
8        "Description": "GLib is the low-level core library that forms the basis for projects such as GTK and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system."
9  }
10]
11

README.md

1# GLib
2
3GLib is the low-level core library that forms the basis for projects such
4as GTK and GNOME. It provides data structure handling for C, portability
5wrappers, and interfaces for such runtime functionality as an event loop,
6threads, dynamic loading, and an object system.
7
8The official download locations are:
9  <https://download.gnome.org/sources/glib>
10
11The official web site is:
12  <https://www.gtk.org/>
13
14## Installation
15
16See the file '[INSTALL.in](INSTALL.in)'
17
18## How to report bugs
19
20Bugs should be reported to the GNOME issue tracking system.
21(<https://gitlab.gnome.org/GNOME/glib/issues/new>). You will need
22to create an account for yourself.
23
24In the bug report please include:
25
26* Information about your system. For instance:
27  * What operating system and version
28  * For Linux, what version of the C library
29  * And anything else you think is relevant.
30* How to reproduce the bug.
31  * If you can reproduce it with one of the test programs that are built
32  in the tests/ subdirectory, that will be most convenient.  Otherwise,
33  please include a short test program that exhibits the behavior.
34  As a last resort, you can also provide a pointer to a larger piece
35  of software that can be downloaded.
36* If the bug was a crash, the exact text that was printed out
37  when the crash occured.
38* Further information such as stack traces may be useful, but
39  is not necessary.
40
41## Patches
42
43Patches should also be submitted as merge requests to gitlab.gnome.org. If the
44patch fixes an existing issue, please refer to the issue in your commit message
45with the following notation (for issue 123):
46Closes: #123
47
48Otherwise, create a new merge request that introduces the change, filing a
49separate issue is not required.
50
51## Notes
52
53### Notes about GLib 2.48
54
55* The system copy of PCRE is now used by default to implement GRegex.
56  Configure with --with-pcre=internal if a system PCRE version
57  is unavailable or undesired.
58
59### Notes about GLib 2.46
60
61* GTask no longer imposes a fixed limit on the number of tasks that
62  can be run_in_thread() simultaneously, since doing this inevitably
63  results in deadlocks in some use cases. Instead, it now has a base
64  number of threads that can be used "for free", but will gradually
65  add more threads to the pool if too much time passes without any
66  tasks completing.
67
68  The exact behavior may continue to change in the future, and it's
69  possible that some future version of GLib may not do any
70  rate-limiting at all. As a result, you should no longer assume that
71  GTask will rate-limit tasks itself (or, by extension, that calls to
72  certain async gio methods will automatically be rate-limited for
73  you). If you have a very large number of tasks to run, and don't
74  want them to all run at once, you should rate-limit them yourself.
75
76### Notes about GLib 2.40
77
78* g_test_run() no longer runs tests in exactly the order they are
79  registered; instead, it groups them according to test suites (ie,
80  path components) like the documentation always claimed it did. In
81  some cases, this can result in a sub-optimal ordering of tests,
82  relative to the old behavior. The fix is to change the test paths to
83  properly group together the tests that should run together. (eg, if
84  you want to run test_foo_simple(), test_bar_simple(), and
85  test_foo_using_bar() in that order, they should have test paths like
86  "/simple/foo", "/simple/bar", "/complex/foo-using-bar", not
87  "/foo/simple", "/bar/simple", "/foo/using-bar" (which would result
88  in test_foo_using_bar() running before test_bar_simple()).
89
90  (The behavior actually changed in GLib 2.36, but it was not
91  documented at the time, since we didn't realize it mattered.)
92
93### Notes about GLib 2.36
94
95* It is no longer necessary to call g_type_init().  If you are
96  loading GLib as a dynamic module, you should be careful to avoid
97  unloading it, then subsequently loading it again.  This never
98  really worked before, but it is now explicitly undefined behavior.
99  Note that if g_type_init() was the only explicit use of a GObject
100  API and you are using linker flags such as --no-add-needed, then
101  you may have to artificially use some GObject call to keep the
102  linker from optimizing away -lgobject. We recommend to use
103  g_type_ensure (G_TYPE_OBJECT) for this purpose.
104
105* This release contains an incompatible change to the g_get_home_dir()
106  function.  Previously, this function would effectively ignore the HOME
107  environment variable and always return the value from /etc/password.
108  As of this version, the HOME variable is used if it is set and the
109  value from /etc/passwd is only used as a fallback.
110
111* The 'flowinfo' and 'scope_id' fields of GInetSocketAddress
112  (introduced in GLib 2.32) have been fixed to be in host byte order
113  rather than network byte order. This is an incompatible change, but
114  the previous behavior was clearly broken, so it seems unlikely that
115  anyone was using it.
116
117### Notes about GLib 2.34
118
119* GIO now looks for thumbnails in XDG_CACHE_HOME, following a
120  recent alignment of the thumbnail spec with the basedir spec.
121
122* The default values for GThreadPools max_unused_threads and
123  max_idle_time settings have been changed to 2 and 15*1000,
124  respectively.
125
126### Notes about GLib 2.32
127
128* It is no longer necessary to use g_thread_init() or to link against
129  libgthread.  libglib is now always thread-enabled. Custom thread
130  system implementations are no longer supported (including errorcheck
131  mutexes).
132
133* The thread and synchronisation APIs have been updated.
134  GMutex and GCond can be statically allocated without explicit
135  initialisation, as can new types GRWLock and GRecMutex.  The
136  GStatic_______ variants of these types have been deprecated.  GPrivate
137  can also be statically allocated and has a nicer API (deprecating
138  GStaticPrivate).  Finally, g_thread_create() has been replaced with a
139  substantially simplified g_thread_new().
140
141* The g_once_init_enter()/_leave() functions have been replaced with
142  macros that allow for a pointer to any gsize-sized object, not just a
143  gsize*.  The assertions to ensure that a pointer to a correctly-sized
144  object is being used will not work with generic pointers (ie: (void*)
145  and (gpointer) casts) which would have worked with the old version.
146
147* It is now mandatory to include glib.h instead of individual headers.
148
149* The -uninstalled variants of the pkg-config files have been dropped.
150
151* For a long time, gobject-2.0.pc mistakenly declared a public
152  dependency on gthread-2.0.pc (when the dependency should have been
153  private).  This means that programs got away with calling
154  g_thread_init() without explicitly listing gthread-2.0.pc among their
155  dependencies.
156
157  gthread has now been removed as a gobject dependency, which will cause
158  such programs to break.
159
160  The fix for this problem is either to declare an explicit dependency
161  on gthread-2.0.pc (if you care about compatibility with older GLib
162  versions) or to stop calling g_thread_init().
163
164* g_debug() output is no longer enabled by default.  It can be enabled
165  on a per-domain basis with the G_MESSAGES_DEBUG environment variable
166  like
167    G_MESSAGES_DEBUG=domain1,domain2
168  or
169    G_MESSAGES_DEBUG=all
170
171### Notes about GLib 2.30
172
173* GObject includes a generic marshaller, g_cclosure_marshal_generic.
174  To use it, simply specify NULL as the marshaller in g_signal_new().
175  The generic marshaller is implemented with libffi, and consequently
176  GObject depends on libffi now.
177
178### Notes about GLib 2.28
179
180* The GApplication API has changed compared to the version that was
181  included in the 2.25 development snapshots. Existing users will need
182  adjustments.
183
184### Notes about GLib 2.26
185
186* Nothing noteworthy.
187
188### Notes about GLib 2.24
189
190* It is now allowed to call g_thread_init(NULL) multiple times, and
191  to call glib functions before g_thread_init(NULL) is called
192  (although the later is mainly a change in docs as this worked before
193  too). See the GThread reference documentation for the details.
194
195* GObject now links to GThread and threads are enabled automatically
196  when g_type_init() is called.
197
198* GObject no longer allows to call g_object_set() on construct-only properties
199  while an object is being initialized. If this behavior is needed, setting a
200  custom constructor that just chains up will re-enable this functionality.
201
202* GMappedFile on an empty file now returns NULL for the contents instead of
203  returning an empty string. The documentation specifically states that code
204  may not rely on nul-termination here so any breakage caused by this change
205  is a bug in application code.
206
207### Notes about GLib 2.22
208
209* Repeated calls to g_simple_async_result_set_op_res_gpointer used
210  to leak the data. This has been fixed to always call the provided
211  destroy notify.
212
213### Notes about GLib 2.20
214
215* The functions for launching applications (e.g. g_app_info_launch() +
216  friends) now passes a FUSE file:// URI if possible (requires gvfs
217  with the FUSE daemon to be running and operational). With gvfs 2.26,
218  FUSE file:// URIs will be mapped back to gio URIs in the GFile
219  constructors. The intent of this change is to better integrate
220  POSIX-only applications, see bug #528670 for the rationale.  The
221  only user-visible change is when an application needs to examine an
222  URI passed to it (e.g. as a positional parameter). Instead of
223  looking at the given URI, the application will now need to look at
224  the result of g_file_get_uri() after having constructed a GFile
225  object with the given URI.
226
227### Notes about GLib 2.18
228
229* The recommended way of using GLib has always been to only include the
230  toplevel headers glib.h, glib-object.h and gio.h. GLib enforces this by
231  generating an error when individual headers are directly included.
232  To help with the transition, the enforcement is not turned on by
233  default for GLib headers (it is turned on for GObject and GIO).
234  To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES.
235
236### Notes about GLib 2.16
237
238* GLib now includes GIO, which adds optional dependencies against libattr
239  and libselinux for extended attribute and SELinux support. Use
240  --disable-xattr and --disable-selinux to build without these.
241
242### Notes about GLib 2.10
243
244* The functions g_snprintf() and g_vsnprintf() have been removed from
245  the gprintf.h header, since they are already declared in glib.h. This
246  doesn't break documented use of gprintf.h, but people have been known
247  to include gprintf.h without including glib.h.
248
249* The Unicode support has been updated to Unicode 4.1. This adds several
250  new members to the GUnicodeBreakType enumeration.
251
252* The support for Solaris threads has been retired. Solaris has provided
253  POSIX threads for long enough now to have them available on every
254  Solaris platform.
255
256* 'make check' has been changed to validate translations by calling
257  msgfmt with the -c option. As a result, it may fail on systems with
258  older gettext implementations (GNU gettext < 0.14.1, or Solaris gettext).
259  'make check' will also fail on systems where the C compiler does not
260  support ELF visibility attributes.
261
262* The GMemChunk API has been deprecated in favour of a new 'slice
263  allocator'. See the g_slice documentation for more details.
264
265* A new type, GInitiallyUnowned, has been introduced, which is
266  intended to serve as a common implementation of the 'floating reference'
267  concept that is e.g. used by GtkObject. Note that changing the
268  inheritance hierarchy of a type can cause problems for language
269  bindings and other code which needs to work closely with the type
270  system. Therefore, switching to GInitiallyUnowned should be done
271  carefully. g_object_compat_control() has been added to GLib 2.8.5
272  to help with the transition.
273
274### Notes about GLib 2.6.0
275
276* GLib 2.6 introduces the concept of 'GLib filename encoding', which is the
277  on-disk encoding on Unix, but UTF-8 on Windows. All GLib functions
278  returning or accepting pathnames have been changed to expect
279  filenames in this encoding, and the common POSIX functions dealing
280  with pathnames have been wrapped. These wrappers are declared in the
281  header <glib/gstdio.h> which must be included explicitly; it is not
282  included through <glib.h>.
283
284  On current (NT-based) Windows versions, where the on-disk file names
285  are Unicode, these wrappers use the wide-character API in the C
286  library. Thus applications can handle file names containing any
287  Unicode characters through GLib's own API and its POSIX wrappers,
288  not just file names restricted to characters in the system codepage.
289
290  To keep binary compatibility with applications compiled against
291  older versions of GLib, the Windows DLL still provides entry points
292  with the old semantics using the old names, and applications
293  compiled against GLib 2.6 will actually use new names for the
294  functions. This is transparent to the programmer.
295
296  When compiling against GLib 2.6, applications intended to be
297  portable to Windows must take the UTF-8 file name encoding into
298  consideration, and use the gstdio wrappers to access files whose
299  names have been constructed from strings returned from GLib.
300
301* Likewise, g_get_user_name() and g_get_real_name() have been changed
302  to return UTF-8 on Windows, while keeping the old semantics for
303  applications compiled against older versions of GLib.
304
305* The GLib uses an '_' prefix to indicate private symbols that
306  must not be used by applications. On some platforms, symbols beginning
307  with prefixes such as _g will be exported from the library, on others not.
308  In no case can applications use these private symbols. In addition to that,
309  GLib+ 2.6 makes several symbols private which were not in any installed
310  header files and were never intended to be exported.
311
312* To reduce code size and improve efficiency, GLib, when compiled
313  with the GNU toolchain, has separate internal and external entry
314  points for exported functions. The internal names, which begin with
315  IA__, may be seen when debugging a GLib program.
316
317* On Windows, GLib no longer opens a console window when printing
318  warning messages if stdout or stderr are invalid, as they are in
319  "Windows subsystem" (GUI) applications. Simply redirect stdout or
320  stderr if you need to see them.
321
322* The child watch functionality tends to reveal a bug in many
323  thread implementations (in particular the older LinuxThreads
324  implementation on Linux) where it's not possible to call waitpid()
325  for a child created in a different thread. For this reason, for
326  maximum portability, you should structure your code to fork all
327  child processes that you want to wait for from the main thread.
328
329* A problem was recently discovered with g_signal_connect_object();
330  it doesn't actually disconnect the signal handler once the object being
331  connected to dies, just disables it. See the API docs for the function
332  for further details and the correct workaround that will continue to
333  work with future versions of GLib.
334

README.rationale

1This file documents various major decisions which affect GLib development,
2giving a brief rationale of each decision, plus a link to further discussion.
3
4
5 * Compiler attributes: https://bugzilla.gnome.org/show_bug.cgi?id=113075#c46
6
7   GLib uses GIR annotations instead of compiler attributes. They are tidier,
8   already supported by GLib and GNOME tools, and accomplish the same task as
9   compiler attributes. GLib does not provide macros for attributes like
10   nonnull because it would not use them.
11

README.win32

1See README.win32.md
2

README.win32.md

1Chun-wei Fan `<fanc999@yahoo.com.tw>`
2Philip Withnall `<withnall@endlessm.com>`
3Nirbheek Chauhan `<nirbheek@centricular.com>`
4
5This document was last updated in 2019. You're reading this in the future, and
6lots of information might be misleading or outdated in your age. You have been
7warned.
8
9# General
10
11For prebuilt binaries (DLLs and EXEs) and developer packages (headers,
12import libraries) of GLib, Pango, GTK+ etc for Windows, go to
13https://www.gtk.org/download/windows.php . They are for "native"
14Windows meaning they use the Win32 API and Microsoft C runtime library
15only. No POSIX (Unix) emulation layer like Cygwin is involved.
16
17To build GLib on Win32, you can use either GCC ("MinGW") or the Microsoft
18Visual Studio toolchain. For the latter, Visual Studio 2015 and later are
19recommended. For older Visual Studio versions, see below.
20
21You can also cross-compile GLib for Windows from Linux using the
22cross-compiling mingw packages for your distro.
23
24Note that to just *use* GLib on Windows, there is no need to build it
25yourself.
26
27On Windows setting up a correct build environment is very similar to typing
28`meson; ninja` like on Linux.
29
30The following preprocessor macros are to be used for conditional
31compilation related to Win32 in GLib-using code:
32
33- `G_OS_WIN32` is defined when compiling for native Win32, without
34  any POSIX emulation, other than to the extent provided by the
35  bundled Microsoft C library.
36
37- `G_WITH_CYGWIN` is defined if compiling for the Cygwin
38  environment. Note that `G_OS_WIN32` is *not* defined in that case, as
39  Cygwin is supposed to behave like Unix. `G_OS_UNIX` *is* defined by a GLib
40  for Cygwin.
41
42- `G_PLATFORM_WIN32` is defined when either `G_OS_WIN32` or `G_WITH_CYGWIN`
43  is defined.
44
45These macros are defined in `glibconfig.h`, and are thus available in
46all source files that include `<glib.h>`.
47
48Additionally, there are the compiler-specific macros:
49- `__GNUC__` is defined when using GCC or Clang
50- `__clang__` is defined when using Clang or Clang-CL
51- `_MSC_VER` is defined when using MSVC or Clang-CL
52
53`G_OS_WIN32` implies using the Microsoft C runtime, which used to be
54`msvcrt.dll` and is now the [Universal CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2015)
55when building with Visual Studio. When using the MinGW-GCC toolchain, the CRT
56in use depends on the settings used while the toolchain was built. We highly
57recommend [using the Universal CRT when building with
58MinGW](https://mingwpy.github.io/ucrt.html) too.
59
60GLib is not actively tested with the static versions of the UCRT, but if you
61need to use those, patches are welcome.
62
63# Building software that use GLib or GTK+
64
65Building software that just *uses* GLib or GTK+ also require to have
66the right compiler set up the right way. If you intend to use MinGW-GCC,
67follow the relevant instructions below in that case, too.
68
69You should link to GLib using the `-mms-bitfields` GCC flag. This flag means
70that the struct layout rules are identical to those used by MSVC. This is
71essential if the same DLLs are to be usable both from gcc- and MSVC-compiled
72code.
73
74## Cross-CRT issues
75
76You should take care that the DLLs that your code links to are using the same
77C runtime library. Not doing so can and likely will lead to panics and crashes
78**unless** you're very careful while passing objects allocated by a library
79linked with one CRT to a library linked to another CRT, or (more commonly) not
80doing that at all.
81
82If you *do* pass CRT objects across CRT boundaries, do not file any issues
83about whatever happens next.
84
85To give an example, opening a `FILE` handle created by one CRT cannot be
86understood by any other CRT, and will lead to an access violation. You also
87cannot allocate memory in one CRT and free it using another.
88
89There are [many other cases where you must not allow objects to cross CRT boundaries](https://docs.microsoft.com/en-us/cpp/c-runtime-library/potential-errors-passing-crt-objects-across-dll-boundaries?view=vs-2019),
90but in theory if you're **very very** careful, you can make things work. Again,
91please do not come to us for help if you choose to do this.
92
93# Building GLib
94
95You can build GLib with MinGW-GCC, MSVC, or (experimentally) with Clang-CL.
96
97For all compilers, you will need the following:
98
99- Install Python 3.6.x or newer, either 32-bit or 64-bit. We recommend enabling
100  the option to add it to your `PATH`.
101- [Install Meson](https://mesonbuild.com/Getting-meson.html)
102- Install the [Ninja build tool](https://github.com/ninja-build/ninja/releases), which can also be
103  installed with `pip3`. You can skip this step if you want to generate Visual
104  Studio project files.
105- [git for Windows](https://gitforwindows.org/) is required, since Meson makes
106  use of git to download dependencies using subprojects.
107
108## Building with MinGW-GCC
109
110Open your MSYS or [MSYS2](https://www.msys2.org/) shell where you have the
111MinGW-GCC toolchain installed, and build GLib [like any other Meson
112project](https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project).
113
114## Building with Visual Studio 2015 or newer
115
116Meson is now the only supported method of building GLib using Visual Studio.
117
118To do a build using Meson, do the following:
119
120- Open a Visual Studio (or SDK) command prompt that matches the Visual Studio
121  version and build platform (Win32/x86, x64, etc.) that will be used in all
122  the following steps.
123
124- Create an empty directory/folder for the build inside your GLib sources
125  directory, say, `_builddir`, and `cd` into it.
126
127- Set up the build using Meson:
128
129```cmd
130> meson .. --buildtype=<release|debug|debugoptimized> --prefix=<path> [--backend=vs]
131```
132
133 Please see [the Meson docs](https://mesonbuild.com/Builtin-options.html#core-options)
134 for an explanation for `--buildtype`.
135
136 The path passed for `--prefix` need not to be on the same drive as where the
137 build is carried out, but it is recommended to use forward slashes for this
138 path.  The `--backend=vs` option can be used if the Visual Studio project
139 generator is preferred over using Ninja.
140
141- Build, test and install the build:
142  Run `ninja` to build, `meson test` to test and `meson install` to install the
143  build. If you used `--backend=vs`, instead of running `ninja`, you need to
144  use `msbuild` or you can open the generated solution in Visual Studio.
145
146## Building with old versions of Visual Studio
147
148The steps are the same as above, with the following notes about issues that you might face.
149
150### C4819 build errors
151
152If you are building GLib-based libraries or applications, or GLib itself
153and you see a `C4819` error (or warning, before `C4819` is treated as an error
154in `msvc_recommended_pragmas.h`), please be advised that this error/warning should
155not be disregarded, as this likely means portions of the build are not being
156done correctly, as this is an issue of Visual Studio running on CJK (East Asian)
157locales.  This is an issue that also affects builds of other projects, such as
158QT, Firefox, LibreOffice/OpenOffice, Pango and GTK, along with many other projects.
159
160To overcome this problem, please set your system's locale setting for non-Unicode to
161English (United States), reboot, and restart the build, and the code should build
162normally.
163
164### Visual Studio 2008 hacks
165
166- You need to run the following lines from your build directory, to embed the
167  manifests that are generated during the build, assuming the built binaries
168  are installed to `$(PREFIX)`, after a successful build/installation:
169
170```cmd
171> for /r %f in (*.dll.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f $(PREFIX)\bin\%~nf;2
172> for /r %f in (*.exe.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f $(PREFIX)\bin\%~nf;1
173```
174
175
176- If building for amd64/x86_64/x64, sometimes the compilation of sources may seem to hang, which
177  is caused by an optimization issue in the 2008 x64 compiler.  You need to use Task Manager to
178  remove all running instances of `cl.exe`, which will cause the build process to terminate.  Update
179  the build flags of the sources that hang on compilation by changing its `"/O2"` flag to `"/O1"`
180  in `build.ninja`, and retry the build, where things should continue to build normally.  At the
181  time of writing, this is needed for compiling `glib/gtestutils.c`, `gio/gsettings.c`,
182  `gio/gsettingsschema.c` and `gio/tests/gsubprocess-testprog.c`
183