]> git.pld-linux.org Git - packages/cvs-nserver.git/commitdiff
- fix format string errors auto/th/cvs-nserver-1.11.1.52-32
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 7 Dec 2013 13:46:43 +0000 (14:46 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 7 Dec 2013 13:46:43 +0000 (14:46 +0100)
- fix build with texinf 5
- rel 32

cvs-nserver-info.patch
cvs-nserver.spec
format-security.patch [new file with mode: 0644]

index 30e09ec7b1aa8d66b2f5b87d034f9219292f27c2..5cbcd40edb5868db412ef8f71e00669220b968ee 100644 (file)
  @end format
  @end ifinfo
  
+@@ -87,9 +87,9 @@
+ @sp 4
+ @comment The title is printed in a large font.
+ @center @titlefont{Version Management}
+-@sp
++@sp 1
+ @center @titlefont{with}
+-@sp
++@sp 1
+ @center @titlefont{CVS}
+ @sp 2
+ @center for @sc{cvs} @value{CVSVN}
index 7d983d595fceec87dd9ba9351577bb005d798768..eba3038713ddbc785674ff041f61d2137efc08a0 100644 (file)
@@ -9,7 +9,7 @@ Summary(pl.UTF-8):      Concurrent Versions System - nserver
 Summary(tr.UTF-8):     Sürüm denetim sistemi - nserver
 Name:          cvs-nserver
 Version:       1.11.1.52
-Release:       31
+Release:       32
 License:       GPL
 Group:         Development/Version Control
 Source0:       http://dl.sourceforge.net/cvs-nserver/%{name}-%{version}.tar.gz
@@ -38,6 +38,7 @@ Patch18:      %{name}-dblshutdown.patch
 Patch19:       %{name}-krb5.patch
 Patch20:       %{name}-cvspasswd-mode.patch
 Patch21:       %{name}-getline.patch
+Patch22:       format-security.patch
 URL:           http://cvs-nserver.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -202,6 +203,7 @@ Serwer CVS - pliki nservera.
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 %build
 %{__aclocal}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..7716c2d
--- /dev/null
@@ -0,0 +1,52 @@
+--- cvs-nserver-1.11.1.52/diff/diff3.c~        2001-05-19 14:05:15.000000000 +0200
++++ cvs-nserver-1.11.1.52/diff/diff3.c 2013-12-07 14:42:15.691191794 +0100
+@@ -1502,7 +1502,7 @@
+             line = 0;
+             do
+               {
+-                printf_output (line_prefix);
++                printf_output ("%s", line_prefix);
+                 cp = D_RELNUM (ptr, realfile, line);
+                 length = D_RELLEN (ptr, realfile, line);
+                 write_output (cp, length);
+--- cvs-nserver-1.11.1.52/src/main.c~  2013-12-07 14:07:08.000000000 +0100
++++ cvs-nserver-1.11.1.52/src/main.c   2013-12-07 14:43:33.117857900 +0100
+@@ -1290,6 +1290,6 @@
+ {
+     (void) fprintf (stderr, *cpp++, program_name, command_name);
+     for (; *cpp; cpp++)
+-      (void) fprintf (stderr, *cpp);
++      (void) fprintf (stderr, "%s", *cpp);
+     error_exit ();
+ }
+--- cvs-nserver-1.11.1.52/src/subr.c~  2013-12-07 14:07:08.000000000 +0100
++++ cvs-nserver-1.11.1.52/src/subr.c   2013-12-07 14:44:02.061191024 +0100
+@@ -46,7 +46,7 @@
+       char buf[80];
+       sprintf (buf, "out of memory; can not allocate %lu bytes",
+                (unsigned long) bytes);
+-      error (1, 0, buf);
++      error (1, 0, "%s", buf);
+     }
+     return (cp);
+ }
+@@ -73,7 +73,7 @@
+       char buf[80];
+       sprintf (buf, "out of memory; can not reallocate %lu bytes",
+                (unsigned long) bytes);
+-      error (1, 0, buf);
++      error (1, 0, "%s", buf);
+     }
+     return (cp);
+ }
+--- cvs-nserver-1.11.1.52/src/http_proxy-client.c~     2001-11-06 01:45:02.000000000 +0100
++++ cvs-nserver-1.11.1.52/src/http_proxy-client.c      2013-12-07 14:42:54.281191516 +0100
+@@ -230,7 +230,7 @@
+               }
+               fclose(f);
+               if (errstr != NULL) {
+-                      error(0,errcode,errstr);
++                      error(0,errcode,"%s",errstr);
+                       return NCLI_FAILURE;
+               }
+       }
This page took 0.131243 seconds and 4 git commands to generate.