summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/InPipe.cc1
-rw-r--r--lib/OutPipe.cc1
-rw-r--r--po/fr.po8
3 files changed, 6 insertions, 4 deletions
diff --git a/lib/InPipe.cc b/lib/InPipe.cc
index 5dc7dfc..978d24b 100644
--- a/lib/InPipe.cc
+++ b/lib/InPipe.cc
@@ -16,6 +16,7 @@ void InPipe::Hook() {
hooked = 1;
::close(1);
dup(p[1]);
+ ::close(p[1]);
}
}
diff --git a/lib/OutPipe.cc b/lib/OutPipe.cc
index f939db7..4b2e710 100644
--- a/lib/OutPipe.cc
+++ b/lib/OutPipe.cc
@@ -16,6 +16,7 @@ void OutPipe::Hook() {
hooked = 1;
::close(0);
dup(p[0]);
+ ::close(p[0]);
}
}
diff --git a/po/fr.po b/po/fr.po
index e8c031a..a3e487f 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Baltisot 1.0.0\n"
-"POT-Creation-Date: 2001-12-03 20:37+0100\n"
+"POT-Creation-Date: 2001-12-05 23:52+0100\n"
"PO-Revision-Date: 2001-10-29 08:26GMT\n"
"Last-Translator: Nicolas Noble <nicolas@nobis-crew.org>\n"
"Language-Team: French <fr@li.org>\n"
@@ -179,14 +179,14 @@ msgstr " a raccroché.\n"
msgid "TaskMan: internal error (task not found)"
msgstr "TaskMan: erreur interne (tache non trouvée)"
-#: lib/InPipe.cc:31
+#: lib/InPipe.cc:32
msgid "Input pipe from stdout ("
msgstr "Tube d'entrée depuis stdout ("
-#: lib/InPipe.cc:31 lib/OutPipe.cc:31
+#: lib/InPipe.cc:32 lib/OutPipe.cc:32
msgid "not "
msgstr "non "
-#: lib/InPipe.cc:31 lib/OutPipe.cc:31
+#: lib/InPipe.cc:32 lib/OutPipe.cc:32
msgid "hooked)"
msgstr "détourné)"