Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37403221
en ru br
Репозитории ALT
S:1.11.23-alt9
5.1: 1.11.23-alt3.M50P.1
4.1: 1.11.22-alt3
4.0: 1.11.22-alt2
+updates:1.11.22-alt2
3.0: 1.11.20-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: cvs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: cvs-1.11.23-alt-format.patch
Скачать


--- cvs-1.11.23/diff/diff3.c
+++ cvs-1.11.23/diff/diff3.c
@@ -1517,7 +1517,7 @@ output_diff3 (diff, mapping, rev_mapping
 	      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-1.11.23/src/main.c
+++ cvs-1.11.23/src/main.c
@@ -1140,6 +1140,6 @@ usage (cpp)
 {
     (void) fprintf (stderr, *cpp++, program_name, cvs_cmd_name);
     for (; *cpp; cpp++)
-	(void) fprintf (stderr, *cpp);
+	(void) fputs (*cpp, stderr);
     error_exit ();
 }
--- cvs-1.11.23/src/subr.c
+++ cvs-1.11.23/src/subr.c
@@ -57,7 +57,7 @@ xmalloc (bytes)
 	char buf[80];
 	sprintf (buf, "cannot allocate %lu bytes: out of memory",
 		 (unsigned long) bytes);
-	error (1, 0, buf);
+	error (1, 0, "%s", buf);
     }
     return (cp);
 }
@@ -79,7 +79,7 @@ xrealloc (ptr, bytes)
 	char buf[80];
 	sprintf (buf, "can not reallocate %lu bytes: out of memory",
 		 (unsigned long) bytes);
-	error (1, 0, buf);
+	error (1, 0, "%s", buf);
     }
     return (cp);
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin