[librep] fixed an major defunct in prin1 + utf8 [Timo Korvola]



commit 8a9ad4da00d1251cdae27062a1fd1a2b11584a59
Author: chrisb <zanghar freenet de>
Date:   Tue Aug 25 18:31:35 2009 +0200

    fixed an major defunct in prin1 + utf8 [Timo Korvola]

 ChangeLog     |    7 +++++++
 configure.in  |    2 +-
 src/lisp.c    |    2 +-
 src/streams.c |    4 ++--
 4 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f7c3847..9bb260c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-08-25  Christopher Bratusek <zanghar freenet de>
+	* configure.in: post-release version bump to 0.90.2
+
+	* src/lisp.c: fixed an major defunct in prin1 + utf8 [Timo Korvola]
+
+	* src/streams.c: wrong description of formats %s and %S
+
 2009-08-22  Christopher Bratusek <zanghar freenet de>
 	* src/rep.c: properly terminate rep interpreter [Jürgen Hötzel]
 
diff --git a/configure.in b/configure.in
index 54e432a..69269f7 100644
--- a/configure.in
+++ b/configure.in
@@ -27,7 +27,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AM_PROG_LIBTOOL
 
 dnl Release versioning info
-version="0.90.1"
+version="0.90.2"
 
 dnl libtool versioning info: `CURRENT:REVISION:AGE'. CURRENT is the
 dnl current interface id, REVISION is the version number of this
diff --git a/src/lisp.c b/src/lisp.c
index c04473c..acbb999 100644
--- a/src/lisp.c
+++ b/src/lisp.c
@@ -2277,7 +2277,7 @@ rep_string_print(repv strm, repv obj)
     char *s = rep_STR(obj);
     char buf[BUFSIZ];
     int bufptr = 0;
-    char c;
+    unsigned char c;
 
 #define OUT(c)							\
     do {							\
diff --git a/src/streams.c b/src/streams.c
index 0eded36..950efc5 100644
--- a/src/streams.c
+++ b/src/streams.c
@@ -820,8 +820,8 @@ to text. The default options are:
 	x, X	Output ARG as a hexadecimal integer
 	o	Output ARG as an octal integer
 	c	Output ARG as a character
-	s	Output the result of `(prin1 ARG)'
-	S	Output the result of `(princ ARG)'
+	s	Output the result of `(princ ARG)'
+	S	Output the result of `(prin1 ARG)'
 
 FLAGS is a sequence of zero or more of the following characters,
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]