public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Delete upstreamed ibus-HEAD.patch
Date: Sun, 31 May 2026 02:09:02 GMT [thread overview]
Message-ID: <178019334263.1.18028924907133778763.rpms-ibus-2aaca7a3c6c1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 2aaca7a3c6c1f3e1a397564bdcadcbbd9034d9d6
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2025-10-05T16:00:05+09:00
Stats : +0/-81 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/2aaca7a3c6c1f3e1a397564bdcadcbbd9034d9d6?branch=autotool
Log:
Delete upstreamed ibus-HEAD.patch
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
deleted file mode 100644
index 7f9a6bd..0000000
--- a/ibus-HEAD.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From abe7ed1bbe59fc89cf9a4cac5f0f4c3c6dee8cf7 Mon Sep 17 00:00:00 2001
-From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Thu, 25 Sep 2025 19:33:35 +0900
-Subject: [PATCH] src/ibuscomposetable: Fix leak with %L in compose file
-
-When IBus compose cache file is generated and the compose file
-includes "%L", a leak happens.
-Also fixes leaks in unicode-parser.
----
- src/ibuscomposetable.c | 3 ++-
- src/unicode-parser.c | 12 +++++++++++-
- 2 files changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/src/ibuscomposetable.c b/src/ibuscomposetable.c
-index 8a4b17a0..e60ad091 100644
---- a/src/ibuscomposetable.c
-+++ b/src/ibuscomposetable.c
-@@ -284,6 +284,7 @@ expand_include_path (const char *include_path) {
- break;
- }
- case 'L': /* locale compose file */
-+ g_free (out);
- out = g_strdup ("%L");
- head = i + 2;
- while (*head || *head == ' ' || *head == '\t') head++;
-@@ -315,7 +316,7 @@ expand_include_path (const char *include_path) {
- "has been ignored", include_path, *(i+1));
- goto fail;
- }
-- ++i;
-+ break;
- }
- }
- o = out;
-diff --git a/src/unicode-parser.c b/src/unicode-parser.c
-index 8fece362..f86c1c81 100644
---- a/src/unicode-parser.c
-+++ b/src/unicode-parser.c
-@@ -141,7 +141,13 @@ ucd_names_list_parse_alias (const gchar *line,
-
- if (*line == '\0')
- return FALSE;
-- data->alias = g_strdup (line);
-+ if (data->alias) {
-+ gchar *new_alias = g_strdup_printf ("%s;%s", data->alias, line);
-+ g_free (data->alias);
-+ data->alias = new_alias;
-+ } else {
-+ data->alias = g_strdup (line);
-+ }
- return TRUE;
- }
-
-@@ -197,6 +203,7 @@ ucd_names_list_parse_line (const gchar *line,
- }
- data->code = code;
- data->name = name;
-+ g_strfreev (elements);
- }
- return TRUE;
- }
-@@ -521,6 +528,7 @@ main (int argc, char *argv[])
- if (output_names_list && names_list)
- ibus_unicode_data_save (output_names_list, names_list);
- g_free (output_names_list);
-+ g_slist_free_full (names_list, g_object_unref);
-
- if (input_blocks) {
- ucd_parse_file (input_blocks, &blocks_list, UCD_BLOCKS);
-@@ -531,6 +539,8 @@ main (int argc, char *argv[])
- if (output_blocks_trans && blocks_list)
- ucd_block_translatable_save (output_blocks_trans, blocks_list);
- g_free (output_blocks);
-+ g_free (output_blocks_trans);
-+ g_slist_free_full (blocks_list, g_object_unref);
-
- g_free (unicode_version);
- return 0;
---
-2.50.1
-
next reply other threads:[~2026-05-31 2:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-31 2:09 Takao Fujiwara [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-31 2:09 [rpms/ibus] autotool: Delete upstreamed ibus-HEAD.patch Takao Fujiwara
2026-05-31 2:08 Takao Fujiwara
2026-05-31 2:08 Takao Fujiwara
2026-05-31 2:08 Takao Fujiwara
2026-05-31 2:07 Takao Fujiwara
2026-05-31 2:07 Takao Fujiwara
2026-05-31 2:07 Takao Fujiwara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178019334263.1.18028924907133778763.rpms-ibus-2aaca7a3c6c1@fedoraproject.org \
--to=tfujiwar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox