public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xdotool] epel10: add missed patch
@ 2026-09-29 22:01 Sven Lankes
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Lankes @ 2026-09-29 22:01 UTC (permalink / raw)
  To: git-commits

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;
+   }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/xdotool] epel10: add missed patch
@ 2026-09-29 22:01 Sven Lankes
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Lankes @ 2026-09-29 22:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xdotool
Branch : epel10
Commit : 0cc70aca68f654cb7eb4fb0870107615697aaccd
Author : Sven Lankes <slankes@fedoraproject.org>
Date   : 2010-06-11T16:08:47+00:00
Stats  : +24/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xdotool/c/0cc70aca68f654cb7eb4fb0870107615697aaccd?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;
+   }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-29 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 22:01 [rpms/xdotool] epel10: add missed patch Sven Lankes
  -- strict thread matches above, loose matches on Subject: below --
2026-09-29 22:01 Sven Lankes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox