diff -Nru libqtserialization-0.1.25.1~bionic/debian/changelog libqtserialization-0.1.26.0~bionic/debian/changelog --- libqtserialization-0.1.25.1~bionic/debian/changelog 2021-05-15 17:01:12.000000000 +0000 +++ libqtserialization-0.1.26.0~bionic/debian/changelog 2021-05-15 17:01:12.000000000 +0000 @@ -1,4 +1,12 @@ -libqtserialization (0.1.25.1~bionic) bionic; urgency=high +libqtserialization (0.1.26.0~bionic) bionic; urgency=high + + * Fixed a NOT_USED() (added underscore). + * Added the mk script. + * Added a .gitignore. + + -- Alexis Wilke Sat, 15 May 2021 10:01:12 -0700 + +libqtserialization (0.1.25.1~xenial) xenial; urgency=high * Bumped version to recompile. diff -Nru libqtserialization-0.1.25.1~bionic/.gitignore libqtserialization-0.1.26.0~bionic/.gitignore --- libqtserialization-0.1.25.1~bionic/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ libqtserialization-0.1.26.0~bionic/.gitignore 2021-05-15 17:01:12.000000000 +0000 @@ -0,0 +1 @@ +*.sw? diff -Nru libqtserialization-0.1.25.1~bionic/mk libqtserialization-0.1.26.0~bionic/mk --- libqtserialization-0.1.25.1~bionic/mk 1970-01-01 00:00:00.000000000 +0000 +++ libqtserialization-0.1.26.0~bionic/mk 2021-05-15 17:01:12.000000000 +0000 @@ -0,0 +1,13 @@ +#!/bin/sh +# +# See the snapcmakemodules project for details about this script +# https://github.com/m2osw/snapcmakemodules + +if test -x ../../cmake/scripts/mk +then + ../../cmake/scripts/mk $* +else + echo "error: could not locate the cmake mk script" + exit 1 +fi + diff -Nru libqtserialization-0.1.25.1~bionic/src/QSerializationReader.cpp libqtserialization-0.1.26.0~bionic/src/QSerializationReader.cpp --- libqtserialization-0.1.25.1~bionic/src/QSerializationReader.cpp 2020-05-26 00:37:04.000000000 +0000 +++ libqtserialization-0.1.26.0~bionic/src/QSerializationReader.cpp 2021-05-15 17:01:12.000000000 +0000 @@ -337,7 +337,7 @@ } if(c != '<') { invalidRead("a tag was expected"); - snap::NOTREACHED(); + snap::NOT_REACHED(); } // get the tag name c = get(); @@ -353,7 +353,7 @@ default: invalidRead("a tag was expected"); - snap::NOTREACHED(); + snap::NOT_REACHED(); } c = get(); @@ -370,11 +370,11 @@ switch(c) { case STREAM_EOF: invalidRead("unexpected end of input while reading a tag."); - snap::NOTREACHED(); + snap::NOT_REACHED(); case '/': invalidRead("empty tags are not currently supported."); - snap::NOTREACHED(); + snap::NOT_REACHED(); default: if(c >= 'a' && c <= 'z') { @@ -382,40 +382,40 @@ break; } invalidRead("unexpected character for an attribute name."); - snap::NOTREACHED(); + snap::NOT_REACHED(); } int attr(c); c = get(); if(c != '=') { invalidRead("all attributes must be followed by a value."); - snap::NOTREACHED(); + snap::NOT_REACHED(); } c = get(); if(c != '"') { invalidRead("all attributes must be defined between double quotes."); - snap::NOTREACHED(); + snap::NOT_REACHED(); } c = get(); while(c != '"' && c != STREAM_EOF) { // <, >, and ' are forbidden in attributes (must be &...; instead) if(c == '<' || c == '>' || c == '\'') { invalidRead("unexpected character found in an attribute"); - snap::NOTREACHED(); + snap::NOT_REACHED(); } appendAttributeChar(attr, c); c = get(); } if(c == STREAM_EOF) { invalidRead("unexpected end of an attribute and thus of a tag"); - snap::NOTREACHED(); + snap::NOT_REACHED(); } setAttribute(attr, xmlDecode(attribute(attr))); } } else if(c != '>') { invalidRead("a tag definition must end with >"); - snap::NOTREACHED(); + snap::NOT_REACHED(); } }