public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sven Lankes <slankes@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xdotool] epel10: add missed patch
Date: Tue, 29 Sep 2026 22:01:39 GMT [thread overview]
Message-ID: <179071929913.1.4961745900235968033.rpms-xdotool-e7233147f3ce@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xdotool
Branch : epel10
Commit : e7233147f3cef32785ef119f08d117e8f4e5373c
Author : Sven Lankes <slankes@fedoraproject.org>
Date : 2010-06-11T16:15:39+00:00
Stats : +24/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/xdotool/c/e7233147f3cef32785ef119f08d117e8f4e5373c?branch=epel10
Log:
add missed patch
---
diff --git a/xdotool-prog-segfault.patch b/xdotool-prog-segfault.patch
new file mode 100644
index 0000000..037ef61
--- /dev/null
+++ b/xdotool-prog-segfault.patch
@@ -0,0 +1,24 @@
+--- xdotool.c.orig 2010-05-26 00:44:44.000000000 +0200
++++ xdotool.c 2010-06-11 17:57:58.781041466 +0200
+@@ -175,7 +175,11 @@
+ }
+ }
+
+- PROGRAM = *argv;
++ if ( (PROGRAM = strrchr(argv[0], '/') ) != NULL) {
++ PROGRAM++;
++ } else {
++ PROGRAM = argv[0];
++ }
+ argv++; argc--;
+ cmd = *argv; /* argv[1] */
+
+@@ -193,7 +197,7 @@
+ }
+
+ if (!cmd_found) {
+- fprintf(stderr, "%s: Unknown command: %s\n", strrchr(PROGRAM, '/') + 1, cmd);
++ fprintf(stderr, "%s: Unknown command: %s\n", PROGRAM, cmd);
+ fprintf(stderr, "Run '%s help' if you want a command list\n", PROGRAM);
+ ret = 1;
+ }
next reply other threads:[~2026-09-29 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 22:01 Sven Lankes [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-29 22:01 [rpms/xdotool] epel10: add missed patch Sven Lankes
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=179071929913.1.4961745900235968033.rpms-xdotool-e7233147f3ce@fedoraproject.org \
--to=slankes@fedoraproject.org \
--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