Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513585
en ru br
Репозитории ALT
S:4.3.30-alt2
5.1: 4.3.16-alt0.M51.1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: xymon

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

Патч: xymon.shellinclude.patch
Скачать


# Make "source" and "." aliases for "include" so that the shell can pre-stage
# some simply xymon environment config files. Note that there's no easy solution
# for emulating the "directory" directive here, but hopefully/typically that's
# only used in tasks.cfg type files and hosts.cfg files... not xymonserver.cfg or clientlaunch.cfg
# 
--- lib/stackio.c.shellinclude	2011-07-31 14:01:52.000000000 -0700
+++ lib/stackio.c	2012-06-21 15:04:44.571159992 -0700
@@ -422 +422 @@
-		if ( (strncmp(bufpastwhitespace, "include ", 8) == 0) || (strncmp(bufpastwhitespace, "include\t", 8) == 0) ||
+		if ( (strncmp(bufpastwhitespace, "include ", 8) == 0) || (strncmp(bufpastwhitespace, "include\t", 8) == 0) || (strncmp(bufpastwhitespace, "source", 6) == 0) || (strncmp(bufpastwhitespace, ". ", 2) == 0) || (strncmp(bufpastwhitespace, ".	", 2) == 0) ||
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin