public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sebastian Vahl <svahl@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/grsync] epel10: - workaround crash when adding new sessions (#385051)
Date: Sun, 01 Nov 2026 04:19:53 GMT	[thread overview]
Message-ID: <179350679322.1.5240588189334248742.rpms-grsync-76dc1851750b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grsync
Branch : epel10
Commit : 76dc1851750baf785e46050fb57222f2bb9c0eae
Author : Sebastian Vahl <svahl@fedoraproject.org>
Date   : 2008-02-08T22:58:11+00:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/grsync/c/76dc1851750baf785e46050fb57222f2bb9c0eae?branch=epel10

Log:
- workaround crash when adding new sessions (#385051)

---
diff --git a/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch b/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
new file mode 100644
index 0000000..4838f94
--- /dev/null
+++ b/grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
@@ -0,0 +1,11 @@
+diff -Naur grsync-0.6.1/src/callbacks.c grsync-0.6.1.new/src/callbacks.c
+--- grsync-0.6.1/src/callbacks.c	2007-11-09 18:10:42.000000000 +0100
++++ grsync-0.6.1.new/src/callbacks.c	2008-02-08 23:28:35.000000000 +0100
+@@ -892,6 +892,7 @@
+ 
+ 		save_settings((GtkWidget*) button, newses, NULL);
+ 		session_number++;
++		session_last = -1;
+ 		load_groups((GtkWidget*) button, newses);
+ 	}
+ 	gtk_widget_destroy(add);

diff --git a/grsync.spec b/grsync.spec
index 6f93236..7bd8478 100644
--- a/grsync.spec
+++ b/grsync.spec
@@ -1,12 +1,13 @@
 Name:           grsync
 Version:        0.6.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Gtk+ GUI for rsync
 
 Group:          User Interface/Desktops
 License:        GPLv2
 URL:            http://www.opbyte.it/grsync/
 Source0:        http://www.opbyte.it/release/%{name}-%{version}.tar.gz
+Patch0:         grsync-0.6.1-fix-crash-when-adding-new-sessions.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel desktop-file-utils gettext perl(XML::Parser)
@@ -23,6 +24,8 @@ to backup personal files to a networked drive.
 
 %prep
 %setup -q
+# https://bugzilla.redhat.com/show_bug.cgi?id=429440
+%patch0 -p1
 
 # some minor corrections for rpmlint
 %{__sed} -i 's/\r//' README
@@ -56,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 08 2008 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-2
+- workaround crash when adding new sessions (#385051)
+
 * Wed Nov 28 2007 Sebastian Vahl <fedora@deadbabylon.de> - 0.6.1-1
 - New upstream version: 0.6.1
 

                 reply	other threads:[~2026-11-01  4:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179350679322.1.5240588189334248742.rpms-grsync-76dc1851750b@fedoraproject.org \
    --to=svahl@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