Группа :: Мониторинг
Пакет: 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) ||