+Version 1.0.4, released 2009-10-11
+
+* Relax Autoconf version requirement to 2.59
+* Make Jansson compile on platforms where plain char is unsigned
+* Fix API tests for object
+
+
Version 1.0.3, released 2009-09-14
* Check for integer and real overflows and underflows in decoder
-AC_PREREQ([2.63])
-AC_INIT([jansson], [1.0.3+], [petri@digip.org])
+AC_PREREQ([2.59])
+AC_INIT([jansson], [1.0.4+], [petri@digip.org])
AM_INIT_AUTOMAKE([1.10 foreign])
# The short X.Y version.
version = '1.0'
# The full version, including alpha/beta/rc tags.
-release = '1.0.3+'
+release = '1.0.4+'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
utf.h \
util.h \
value.c
-libjansson_la_LDFLAGS = -version-info 0:3:0
+libjansson_la_LDFLAGS = -version-info 0:4:0
AM_CFLAGS = -Wall -Wextra -Werror
char seq[7];
int length;
- while(*end && *end != '\\' && *end != '"' && (*end < 0 || *end > 0x1F))
+ while(*end && *end != '\\' && *end != '"' && (unsigned char)*end > 0x1F)
end++;
if(end != str) {
c = stream->buffer[0];
- if(c < 0 && c != EOF)
+ if((unsigned char)c >= 0x80 && c != (char)EOF)
{
/* multi-byte UTF-8 sequence */
int i, count;
c = lex_get_save(lex, error);
while(c != '"') {
- if(c == EOF) {
+ if(c == (char)EOF) {
lex_unget_unsave(lex, c);
if(lex_eof(lex))
error_set(error, lex, "premature end of input");
goto out;
}
- else if(0 <= c && c <= 0x1F) {
+ else if((unsigned char)c <= 0x1F) {
/* control character */
lex_unget_unsave(lex, c);
if(c == '\n')
c = lex_get(lex, error);
}
- if(c == EOF) {
+ if(c == (char)EOF) {
if(lex_eof(lex))
lex->token = TOKEN_EOF;
else