Hello community,

here is the log from the commit of package ctags for openSUSE:Factory
checked in at Wed Aug 3 09:20:42 CEST 2011.



--------
--- ctags/ctags.changes 2011-07-29 19:05:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/ctags/ctags.changes    2011-08-02 
17:35:31.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Aug  2 15:33:11 UTC 2011 - pu...@novell.com
+
+- add etags-strcpy-overlap.patch (bnc#705308) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  etags-strcpy-overlap.patch

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

Other differences:
------------------
++++++ ctags.spec ++++++
--- /var/tmp/diff_new_pack.9JasbW/_old  2011-08-03 09:12:06.000000000 +0200
+++ /var/tmp/diff_new_pack.9JasbW/_new  2011-08-03 09:12:06.000000000 +0200
@@ -21,7 +21,7 @@
 %define ctags_ver      5.8
 %define etags_ver      17.38.1.4
 # Let the date means last update of either ctags or etags tarball
-Version:        2011.7.29
+Version:        2011.8.2
 Release:        1
 License:        GPLv2+
 Summary:        A Program to Generate Tag Files for Use with vi and Other 
Editors
@@ -36,6 +36,7 @@
 #Patch2:        ctags-ycp-parser.diff
 Patch3:         ctags-date-time.patch
 Patch4:         etags-%{etags_ver}.diff
+Patch5:         etags-strcpy-overlap.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -54,6 +55,7 @@
 %patch3 -p1
 cd ../etags-%{etags_ver}
 %patch4
+%patch5 -p1
 
 %build
 CC=gcc

++++++ etags-strcpy-overlap.patch ++++++
Index: etags-17.38.1.4/etags.c
===================================================================
--- etags-17.38.1.4.orig/etags.c
+++ etags-17.38.1.4/etags.c
@@ -907,6 +907,13 @@ print_version ()
   exit (EXIT_SUCCESS);
 }
 
+static void etags_strcpy(char *to, char *from)
+{
+       while (*from)
+               *to++ = *from++;
+       *to = *from;
+}
+
 #ifndef PRINT_UNDOCUMENTED_OPTIONS_HELP
 # define PRINT_UNDOCUMENTED_OPTIONS_HELP FALSE
 #endif
@@ -6695,13 +6702,13 @@ absolute_filename (file, dir)
              else if (cp[0] != '/')
                cp = slashp;
 #endif
-             strcpy (cp, slashp + 3);
+             etags_strcpy (cp, slashp + 3);
              slashp = cp;
              continue;
            }
          else if (slashp[2] == '/' || slashp[2] == '\0')
            {
-             strcpy (slashp, slashp + 2);
+             etags_strcpy (slashp, slashp + 2);
              continue;
            }
        }

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



Remember to have fun...

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

Reply via email to