changeset 5786:6355de501637

Correct buffered_bytecount_to_charcount() on non-Mule. src/ChangeLog addition: [...] * text.h (buffered_bytecount_to_charcount): This was declared wrong for non-mule, correct this. Thank you Mats Lidell and the buildbot.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 23 Jan 2014 15:03:16 +0000
parents 7343a186a475
children 10395934b99e
files src/ChangeLog src/text.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 23 13:49:40 2014 +0000
+++ b/src/ChangeLog	Thu Jan 23 15:03:16 2014 +0000
@@ -1,5 +1,9 @@
 2014-01-23  Aidan Kehoe  <kehoea@parhasard.net>
 
+	* text.h (buffered_bytecount_to_charcount): This was
+	declared wrong for non-mule, correct this. Thank you Mats Lidell
+	and the buildbot.
+
 	* lstream.c (Lstream_read_1):
 	Don't include the unread partial character in
 	unget_character_count, since our consumers will never be aware of it.
--- a/src/text.h	Thu Jan 23 13:49:40 2014 +0000
+++ b/src/text.h	Thu Jan 23 15:03:16 2014 +0000
@@ -922,7 +922,7 @@
 #define charcount_to_bytecount_fmt(ptr, len, fmt) ((Bytecount) (len))
 #define skip_ascii(ptr, end) end
 #define skip_ascii_down(ptr, end) end
-#define buffered_bytecount_to_charcount (ptr, len) (len)
+#define buffered_bytecount_to_charcount(ptr, len) (len)
 
 #endif /* MULE */