Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37825033
en ru br
Репозитории ALT
S:4.2.6-alt2
5.1: 2.2.2-alt1
4.1: 2.0.10-alt1
4.0: 2.0.7-alt1
3.0: 0.2.2-alt1
www.altlinux.org/Changes

Группа :: Игры/Стратегия
Пакет: warzone2100

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

Патч: warzone2100-2.1.0-strlfuncs.patch
Скачать


--- warzone2100-2.1.0/lib/framework/strlfuncs.h.orig	2008-12-21 20:41:15 +0200
+++ warzone2100-2.1.0/lib/framework/strlfuncs.h	2008-12-22 17:52:23 +0200
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <stddef.h>
 #include <assert.h>
-
+#if 0
 /** 
  *	A safer variant of \c strncpy and its completely unsafe variant \c strcpy.
  *	Copy src to string dst of size siz.  At most siz-1 characters
@@ -105,7 +105,7 @@
 
 	return(dlen + (s - src));        /* count does not include NUL */
 }
-
+#endif
 /* Static array versions of common string functions. Safer because one less parameter to screw up. 
  * Can only be used on strings longer than the length of a pointer, because we use this for debugging. */
 #ifndef DEBUG
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin