Hello community,

here is the log from the commit of package su-wrapper for openSUSE:Factory 
checked in at 2012-12-19 14:51:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.su-wrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "su-wrapper", Maintainer is "wer...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/su-wrapper/su-wrapper.changes    2012-05-26 
09:29:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.su-wrapper.new/su-wrapper.changes       
2012-12-19 14:51:08.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Dec 19 10:48:37 UTC 2012 - wer...@suse.de
+
+- Add su-wrapper-1.2.0-term.dif (bnc#795063) 
+
+-------------------------------------------------------------------

New:
----
  su-wrapper-1.2.0-term.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ su-wrapper.spec ++++++
--- /var/tmp/diff_new_pack.UUBMWH/_old  2012-12-19 14:51:10.000000000 +0100
+++ /var/tmp/diff_new_pack.UUBMWH/_new  2012-12-19 14:51:10.000000000 +0100
@@ -25,6 +25,8 @@
 PreReq:         permissions
 Source0:        su-wrapper-1.2.0.tar.bz2
 Patch:          su-wrapper-1.2.0.dif
+# PATCH-FIX-OPENSUSE su-wrapper-1.2.0-term.dif -- bnc#795063 - su-wrapper 
segfault if TERM variabile is not in environment
+Patch1:         su-wrapper-1.2.0-term.dif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,6 +49,7 @@
 %prep
 %setup
 %patch -p0
+%patch1 -p0
 
 %build
   pushd src

++++++ su-wrapper-1.2.0-term.dif ++++++
--- src/su-wrapper.c
+++ src/su-wrapper.c    2012-12-19 10:44:55.961952136 +0000
@@ -483,7 +483,7 @@ int main (int argc, char * argv[])
                xputenv("PATH", "/usr/local/bin:/bin:/usr/bin:/usr/bin/X11");
        if (errno)
                error("putenv() failed: %s\n", strerror(errno));
-       if (xputenv("TERM", term))
+       if (xputenv("TERM", term ? term : "dumb"))
                error("putenv() failed: %s\n", strerror(errno));
 
        do_su (entry);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to