Mailinglist Archive: yast-devel (176 mails)

< Previous Next >
[yast-devel] [PATCH 04/11] tty_wrapper ported to use Process class from liby2util-r
From: Stanislav Visnovsky <visnov@xxxxxxxxxx>

---
core/base/tools/tty_wrapper/Makefile.am | 5 +++--
core/base/tools/tty_wrapper/tty_wrapper.cc | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/base/tools/tty_wrapper/Makefile.am
b/core/base/tools/tty_wrapper/Makefile.am
index 07e34ce..848575b 100644
--- a/core/base/tools/tty_wrapper/Makefile.am
+++ b/core/base/tools/tty_wrapper/Makefile.am
@@ -8,7 +8,8 @@ ybin_PROGRAMS = tty_wrapper

tty_wrapper_SOURCES = tty_wrapper.cc

-tty_wrapper_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/agent-process/src
+tty_wrapper_CPPFLAGS = $(AM_CPPFLAGS)

-tty_wrapper_LDADD = $(top_builddir)/agent-process/src/libpy2ag_process.la
+tty_wrapper_LDADD = -ly2util

+tty_wrapper_LDFLAGS = -L$(srcdir)/../../../liby2util-r/src -L$(libdir)
diff --git a/core/base/tools/tty_wrapper/tty_wrapper.cc
b/core/base/tools/tty_wrapper/tty_wrapper.cc
index cf181dd..e6df324 100644
--- a/core/base/tools/tty_wrapper/tty_wrapper.cc
+++ b/core/base/tools/tty_wrapper/tty_wrapper.cc
@@ -30,7 +30,7 @@
*/


-#include "Process.h"
+#include <y2util/Process.h>
#include <iostream>

extern "C"
@@ -40,7 +40,6 @@ extern "C"
#include <errno.h>
}

-
// use atomic type in signal handler
static sig_atomic_t finish = false;

--
1.7.3.2

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References