Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37343025
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.10-deb-keyword_alphanumerics.patch
Скачать


diff -uprk.orig cvs-1.11.10.orig/src/rcs.c cvs-1.11.10/src/rcs.c
--- cvs-1.11.10.orig/src/rcs.c	2003-11-19 23:17:38 +0300
+++ cvs-1.11.10/src/rcs.c	2003-12-15 03:48:33 +0300
@@ -3708,13 +3708,18 @@ expand_keywords (rcs, ver, name, log, lo
 	srch_len -= (srch_next + 1) - srch;
 	srch = srch_next + 1;
 
-	/* Look for the first non alphabetic character after the '$'.  */
+	/*
+	 * Accept alphanumerics, not just alphabetics.  XFree86, anyone?
+	 * Branden Robinson  Sat,  7 Sep 2002 02:04:59 -0500
+	 */
+
+	/* Look for the first non alphanumeric character after the '$'.  */
 	send = srch + srch_len;
 	for (s = srch; s < send; s++)
-	    if (! isalpha ((unsigned char) *s))
+	    if (! isalnum ((unsigned char) *s))
 		break;
 
-	/* If the first non alphabetic character is not '$' or ':',
+	/* If the first non alphanumeric character is not '$' or ':',
            then this is not an RCS keyword.  */
 	if (s == send || (*s != '$' && *s != ':'))
 	    continue;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin