User: aidan
Date: 06/05/25 10:04:59
Modified: xemacs/src ChangeLog file-coding.c
Log:
Last build problem was with eicpy_ext, not stderr_out.
Revision Changes Path
1.969 +8 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.968
retrieving revision 1.969
diff -u -p -r1.968 -r1.969
--- ChangeLog 2006/05/24 16:30:28 1.968
+++ ChangeLog 2006/05/25 08:04:56 1.969
@@ -1,3 +1,11 @@
+2006-05-25 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * file-coding.c (output_bytes_in_ascii_and_hex):
+ I installed GCC 4.0 (which may not even have been necesssary,
+ -pedantic might have done it) and it showed me that the problem my
+ last commit intended to address was in eistr_ext rather than
+ stderr_out.
+
2006-05-16 Andrey Slusar <anrays(a)gmail.com>
* objects-x.c (x_find_charset_font): Fix build with gcc 2.95.
1.55 +4 -5 XEmacs/xemacs/src/file-coding.c
Index: file-coding.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/file-coding.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -p -r1.54 -r1.55
--- file-coding.c 2006/05/23 19:38:30 1.54
+++ file-coding.c 2006/05/25 08:04:57 1.55
@@ -3367,15 +3367,15 @@ hex_digit_to_char (int digit)
static void
output_bytes_in_ascii_and_hex (const UExtbyte *src, Bytecount n)
{
- UExtbyte *ascii = alloca_array (UExtbyte, n + 1);
- UExtbyte *hex = alloca_array (UExtbyte, 3 * n + 1);
+ Extbyte *ascii = alloca_array (Extbyte, n + 1);
+ Extbyte *hex = alloca_array (Extbyte, 3 * n + 1);
int i;
DECLARE_EISTRING (eistr_ascii);
DECLARE_EISTRING (eistr_hex);
for (i = 0; i < n; i++)
{
- UExtbyte c = src[i];
+ Extbyte c = src[i];
if (c < 0x20)
ascii[i] = '.';
else
@@ -3390,8 +3390,7 @@ output_bytes_in_ascii_and_hex (const UEx
eicpy_ext(eistr_hex, hex, Qbinary);
eicpy_ext(eistr_ascii, ascii, Qbinary);
- stderr_out ("%s %s", (const CIbyte *)(eidata(eistr_ascii)),
- (const CIbyte *)eidata(eistr_hex));
+ stderr_out ("%s %s", eidata(eistr_ascii), eidata(eistr_hex));
}
#endif /* DEBUG_XEMACS */
Show replies by date