Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11617 - /trunk/sat-solver/tools/repo_zyppdb.c
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Fri, 07 Nov 2008 10:56:16 -0000
  • Message-id: <20081107105616.65283339ED@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Fri Nov 7 11:56:16 2008
New Revision: 11617

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11617&view=rev
Log:
make it more robust, just report and skip bad entries. (bnc#441043)

Modified:
trunk/sat-solver/tools/repo_zyppdb.c

Modified: trunk/sat-solver/tools/repo_zyppdb.c
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_zyppdb.c?rev=11617&r1=11616&r2=11617&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_zyppdb.c (original)
+++ trunk/sat-solver/tools/repo_zyppdb.c Fri Nov 7 11:56:16 2008
@@ -318,7 +318,7 @@
if (XML_Parse(parser, buf, l, l == 0) == XML_STATUS_ERROR)
{
fprintf(stderr, "repo_zyppdb: %s at line %u:%u\n",
XML_ErrorString(XML_GetErrorCode(parser)), (unsigned
int)XML_GetCurrentLineNumber(parser), (unsigned
int)XML_GetCurrentColumnNumber(parser));
- exit(1);
+ return;
}
if (l == 0)
break;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages