Hello community,

here is the log from the commit of package mc for openSUSE:Factory checked in 
at 2013-10-02 13:31:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mc (Old)
 and      /work/SRC/openSUSE:Factory/.mc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mc/mc.changes    2013-08-25 13:33:31.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.mc.new/mc.changes       2013-10-02 
13:31:32.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 30 17:23:48 CEST 2013 - sbra...@suse.cz
+
+- Fix invalid mc.png (IDAT TFB error).
+
+-------------------------------------------------------------------
+Fri Sep 27 12:10:18 UTC 2013 - nadvor...@suse.com
+
+- mc-startup-timeout.patch: reduce the timeout when a dns server does
+  not respond (bnc#824729)
+
+-------------------------------------------------------------------

New:
----
  mc-startup-timeout.patch

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

Other differences:
------------------
++++++ mc.spec ++++++
--- /var/tmp/diff_new_pack.YscVV7/_old  2013-10-02 13:31:33.000000000 +0200
+++ /var/tmp/diff_new_pack.YscVV7/_new  2013-10-02 13:31:33.000000000 +0200
@@ -52,6 +52,8 @@
 # Patches from Fedora
 #Patch adding -fpie and -pie to compilation and linking of setuid binaries
 Patch52:        mc-pie.patch
+# mc-startup-timeout.patch mc3082 nadvor...@suse.cz - fix for long timeout on 
startup, bnc#824729
+Patch60:        mc-startup-timeout.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  audiofile-devel
@@ -121,6 +123,7 @@
 %patch32
 %patch41
 %patch52 -p1
+%patch60 -p1
 
 %build
 autoreconf --force --install

++++++ mc-startup-timeout.patch ++++++
diff -ru mc-4.8.10.orig/src/vfs/smbfs/helpers/lib/util.c 
mc-4.8.10/src/vfs/smbfs/helpers/lib/util.c
--- mc-4.8.10.orig/src/vfs/smbfs/helpers/lib/util.c     2013-06-25 
23:29:14.000000000 +0200
+++ mc-4.8.10/src/vfs/smbfs/helpers/lib/util.c  2013-09-27 12:04:27.306008996 
+0200
@@ -1841,11 +1841,13 @@
     /* Ensure null termination. */
     hostname[sizeof (hostname) - 1] = '\0';
 
-    /* get host info */
-    if ((hp = Get_Hostbyname (hostname)) == 0)
-    {
-        DEBUG (0, ("Get_Hostbyname: Unknown host %s\n", hostname));
-        return False;
+    if (ip) { /* query the ip only if it is requested */
+        /* get host info */
+        if ((hp = Get_Hostbyname (hostname)) == 0)
+        {
+            DEBUG (0, ("Get_Hostbyname: Unknown host %s\n", hostname));
+            return False;
+        }
     }
 
     if (my_name)
@@ -2474,6 +2476,9 @@
         return (ret);
     }
 
+#if 0 
+    /* IMHO this is useless and only increases the timeout */
+
     /* try with all lowercase */
     strlower (name2);
     ret = sys_gethostbyname (name2);
@@ -2491,6 +2496,7 @@
         free (name2);
         return (ret);
     }
+#endif
 
     /* nothing works :-( */
     free (name2);
++++++ mc.png ++++++
Files /var/tmp/diff_new_pack.YscVV7/_old and /var/tmp/diff_new_pack.YscVV7/_new 
differ

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to