← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~matthias-brantner/zorba/bug-fixing into lp:zorba

 

Matthias Brantner has proposed merging lp:~matthias-brantner/zorba/bug-fixing into lp:zorba.

Requested reviews:
  Juan Zacarias (juan457)
  Matthias Brantner (matthias-brantner)
Related bugs:
  Bug #867133 in Zorba: "SWIG PHP build failure on Mac OSX"
  https://bugs.launchpad.net/zorba/+bug/867133

For more details, see:
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/84817

fix windows build
-- 
https://code.launchpad.net/~matthias-brantner/zorba/bug-fixing/+merge/84817
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/api/serialization/serializer.cpp'
--- src/api/serialization/serializer.cpp	2011-11-30 18:27:04 +0000
+++ src/api/serialization/serializer.cpp	2011-12-07 18:07:13 +0000
@@ -1709,7 +1709,7 @@
   is.clear();                   // clear eofbit
   if (item->isSeekable())
   {
-    if (pos != 0 && pos != -1)
+    if (pos)
     {
       is.exceptions(is.exceptions() | std::ios::failbit);
       is.seekg(pos, std::ios::beg);


Follow ups