Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37405156
en ru br
Репозитории ALT
S:5.4.3-alt1
5.1: 4.14-alt1.M51.1
4.1: 3.9-alt8.M41.4
4.0: 3.1-alt6
3.0: 2.0-alt0.10.1
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: alterator

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

Патч: alterator-guile20.patch
Скачать


commit 94a405749428097fd7fe4bf86de55555d8c79ef2
Author: Paul Wolneykien <manowar@altlinux.org>
Date:   Tue Dec 5 15:53:48 2017 +0300
    Adapt setbuf calls to an older version of Guile
diff --git a/alterator/interfaces/guile/pipe.scm b/alterator/interfaces/guile/pipe.scm
index d7b3cb3..c50abdb 100644
--- a/alterator/interfaces/guile/pipe.scm
+++ b/alterator/interfaces/guile/pipe.scm
@@ -25,7 +25,7 @@
 ;create pipe and made nonbuffered write side
 (define (create-pipe)
   (let ((p (pipe)))
-    (setvbuf (cdr p) 'none)
+    (setvbuf (cdr p) 0)
     p))
 
 ;return (pid,read-port,write-port)
diff --git a/alterator/sbin/alteratord b/alterator/sbin/alteratord
index a3ff7de..823c990 100755
--- a/alterator/sbin/alteratord
+++ b/alterator/sbin/alteratord
@@ -69,8 +69,8 @@
            (prepare-log (string-append *tmpdir* "/alteratord.log"))))
 
 ;; Do not delay logging:
-(setvbuf (current-error-port) 'line) ; goes to our custom log
-(setvbuf (current-output-port) 'line) ; captured by system log if it's a service
+(setvbuf (current-error-port) 1) ; goes to our custom log
+(setvbuf (current-output-port) 1) ; captured by system log if it's a service
 (force-output)
 
 (with-exit-handler
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin