Files
glib/glib
Philip Withnall 2f737c4e79 gtestutils: Fix G_TEST_SUBPROCESS_INHERIT_STDIN in g_test_trap_subprocess()
Spotted by Vincent Fazio. The old flag value was incorrectly used
instead of the new one when testing to see which flags were set. Likely
a typo.

This will never have worked, because the first few lines of the function
assert that the old flag value is not set.

Includes a unit test so we don’t regress on this in future.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Reported-by: Vincent Fazio <vfazio@gmail.com>

Fixes: #3768
2025-08-26 15:56:56 +01:00
..
2025-08-02 22:22:04 +02:00
2023-11-02 16:30:23 +00:00
2022-05-23 09:19:45 -04:00
2025-05-06 11:56:43 +01:00
2024-09-06 10:49:31 -04:00
2024-09-18 01:48:36 +01:00
2023-11-15 11:09:39 +00:00
2023-11-15 11:09:39 +00:00
2024-04-01 11:01:06 +00:00
2023-02-09 13:36:51 +00:00
2018-01-04 22:19:30 +01:00
2025-02-10 10:26:42 +01:00
2025-08-08 23:15:38 +02:00
2025-08-21 16:11:53 +02:00
2021-09-21 09:41:29 +00:00
2025-02-10 10:26:42 +01:00
2021-11-18 14:32:09 +00:00
2023-10-11 17:38:31 +01:00
2023-10-11 17:38:31 +01:00
2024-10-09 11:26:20 +02:00
2025-08-07 19:14:50 +02:00
2025-08-07 19:14:50 +02:00
2024-07-09 20:16:20 +01:00
2025-04-14 15:53:43 +03:00
2023-10-11 17:38:31 +01:00
2023-10-23 10:25:31 +01:00
2024-11-15 13:59:52 -05:00
2025-04-07 03:26:09 +01:00
2024-12-03 08:06:17 +00:00
2024-12-03 08:06:17 +00:00
2024-12-03 08:06:17 +00:00
2023-10-11 17:38:31 +01:00
2024-10-09 11:26:20 +02:00
2023-11-28 13:52:05 +00:00
2024-10-21 19:31:56 +01:00
2025-05-14 10:22:54 +02:00
2023-11-28 13:52:05 +00:00
2023-11-28 13:52:05 +00:00
2025-02-19 20:52:01 +08:00
2024-04-01 11:01:06 +00:00
2024-10-09 11:26:20 +02:00