Bug in 2.1.3 current CVS (+patch)
Andreas Jaeger
aj@suse.de
Thu Feb 24 01:44:00 GMT 2000
I just got:
programs/ld-ctype.c: In function `ctype_output':
programs/ld-ctype.c:597: parse error before `~'
Here's the offending statement:
CTYPE_DATA (_NL_CTYPE_WIDTH,
ctype->width,
(ctype->plane_size * ctype->plane_cnt + 3) ~3ul);
I guess you missed an "&".
Andreas
2000-02-24 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (ctype_output): Fix last patch.
============================================================
Index: locale/programs/ld-ctype.c
--- locale/programs/ld-ctype.c 2000/02/24 05:50:20 1.23.2.4
+++ locale/programs/ld-ctype.c 2000/02/24 09:34:22
@@ -594,7 +594,7 @@
CTYPE_DATA (_NL_CTYPE_WIDTH,
ctype->width,
- (ctype->plane_size * ctype->plane_cnt + 3) ~3ul);
+ (ctype->plane_size * ctype->plane_cnt + 3) & ~3ul);
CTYPE_DATA (_NL_CTYPE_MB_CUR_MAX,
&ctype->mb_cur_max, sizeof (u_int32_t));
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list