-------------------------------------------------------------------
+Fri Dec 11 16:52:54 CET 2020 - ma@suse.de
+
+- Fix lsof monitoring (bsc#1179909)
+- version 17.25.5 (22)
+
+-------------------------------------------------------------------
Thu Dec 3 17:06:35 CET 2020 - ma@suse.de
- Prevent librpmDb iterator from accidentally creating an empty
rpmdb in / (repoened bsc#1178910)
-- Fix update of gpg keys with elongated expire date (bsc#179222)
+- Fix update of gpg keys with elongated expire date (bsc#1179222)
- needreboot: remove udev from the list (bsc#1179083)
- Prefer /run over /var/run.
- version 17.25.4 (22)
"Project-Id-Version: zypp.pt\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-18 16:45+0200\n"
-"PO-Revision-Date: 2008-06-10 16:04+0100\n"
-"Last-Translator: Antonio Cardoso Martins <digiplan.pt@gmail.com>\n"
-"Language-Team: Portuguese <opensuse-pt@opensuse.org>\n"
+"PO-Revision-Date: 2020-12-06 18:26+0000\n"
+"Last-Translator: Luís Tiago Favas <al62006@utad.eu>\n"
+"Language-Team: Portuguese <https://l10n.opensuse.org/projects/libzypp/master/"
+"pt/>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-">\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Weblate 3.6.1\n"
#. dubious: Throw on malformed known types, otherwise log a warning.
#: zypp/CheckSum.cc:136
#: zypp/CountryCode.cc:50
msgid "Unknown country: "
-msgstr "Pais desconhecido:"
+msgstr "País desconhecido: "
#. Defined CountryCode constants
#. Defined LanguageCode constants
#. :GUF:254:
#: zypp/CountryCode.cc:237
-#, fuzzy
msgid "Guernsey"
-msgstr "Alemanha"
+msgstr "Guernsey"
# name for GHA
#: zypp/CountryCode.cc:238
#. :ISR:376:
#: zypp/CountryCode.cc:260
msgid "Isle of Man"
-msgstr ""
+msgstr "Ilha de Man"
#: zypp/CountryCode.cc:261
msgid "India"
#. :ITA:380:
#: zypp/CountryCode.cc:267
msgid "Jersey"
-msgstr ""
+msgstr "Jersey"
# name for JAM
#: zypp/CountryCode.cc:268
# name for SMR
#: zypp/CountryCode.cc:297
-#, fuzzy
msgid "Saint Martin"
-msgstr "São Marino"
+msgstr "Coletividade de São Martinho"
# name for MDG
#: zypp/CountryCode.cc:298
#: zypp/Dep.cc:97
msgid "Prerequires"
-msgstr ""
+msgstr "Pré requer"
#: zypp/Dep.cc:98
msgid "Requires"
#: zypp/ExternalProgram.cc:375
#, c-format, boost-format
msgid "Can't chdir to '%s' inside chroot '%s' (%s)."
-msgstr ""
+msgstr "Não foi possível fazer chdir a '%s' dentro de chroot '%s' (%s)."
#: zypp/ExternalProgram.cc:376
#, c-format, boost-format
msgid "Can't chdir to '%s' (%s)."
-msgstr ""
+msgstr "Não foi possível fazer chdir a '%s' (%s)."
#. don't want to get here
#: zypp/ExternalProgram.cc:405
#include <sys/types.h>
#include <sys/wait.h>
-#define BOOST_TEST_MODULE CleanerThread
+#define BOOST_TEST_MODULE ExternalProgram
using zypp::ExternalProgram;
BOOST_CHECK_EQUAL( res, -1 );
BOOST_CHECK_EQUAL( errno, ECHILD );
}
+
+BOOST_AUTO_TEST_CASE( ReadTimeout )
+{
+ static const char* argv[] = { "sleep", "2", NULL };
+ ExternalProgram prog( argv, ExternalProgram::Discard_Stderr );
+ BOOST_CHECK_THROW( prog.receiveLine( 100 ), io::TimeoutException );
+ BOOST_CHECK_EQUAL( prog.receiveLine( 3000 ), "" );
+ BOOST_CHECK_EQUAL( prog.close(), 0 );
+}
clearerr( inputfile );
- int retval = g_poll( &fd, 1, timeout );
+ int retval = g_poll( &fd, 1, remainingTimeout );
if ( retval == -1 )
{
if ( errno != EINTR ) {
// we timed out, or were interrupted for some reason
// check if we can wait more
if ( timer ) {
- remainingTimeout -= g_timer_elapsed( timer, nullptr );
+ remainingTimeout -= g_timer_elapsed( timer, nullptr ) * 1000;
if ( remainingTimeout <= 0 )
return std::make_pair( ReceiveUpToResult::Timeout, line );
}