Mailinglist Archive: zypp-commit (223 mails)

< Previous Next >
[zypp-commit] r10492 - /trunk/sat-solver/bindings/pool.i
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Tue, 01 Jul 2008 12:32:32 -0000
  • Message-id: <20080701123232.BAA3C2A23B@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Tue Jul 1 14:32:32 2008
New Revision: 10492

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10492&view=rev
Log:
only report failure of .attr load

Modified:
trunk/sat-solver/bindings/pool.i

Modified: trunk/sat-solver/bindings/pool.i
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/pool.i?rev=10492&r1=10491&r2=10492&view=diff
==============================================================================
--- trunk/sat-solver/bindings/pool.i (original)
+++ trunk/sat-solver/bindings/pool.i Tue Jul 1 14:32:32 2008
@@ -13,7 +13,8 @@
FILE *fp = 0;
if (data->location) {
fp = fopen( data->location, "r" );
- fprintf( stderr, "*** reading %s as %p\n", data->location, fp );
+ if (!fp)
+ fprintf( stderr, "*** failed reading %s\n", data->location );
}
return fp;
}

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

< Previous Next >
This Thread
  • No further messages